Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 107.8 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.1 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 196.4 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4454/0.4454, allocations: 78.53 MB / 419.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 71.89 kB / 0.5543 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3705, allocations: 68.17 MB / 0.6208 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003502/0.374, allocations: 2.784 MB / 0.6236 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3754, allocations: 0.8998 MB / 0.6244 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.3756, allocations: 0 / 0.6244 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.3759, allocations: 83.34 kB / 0.6245 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.3761, allocations: 123 kB / 0.6246 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.377, allocations: 460 kB / 0.6251 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.3773, allocations: 418.3 kB / 0.6255 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3775, allocations: 93.03 kB / 0.6256 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3777, allocations: 171.2 kB / 0.6257 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.3779, allocations: 223 kB / 0.6259 GB, free: 5.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.378, allocations: 36 kB / 0.626 GB, free: 5.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3782, allocations: 95.91 kB / 0.6261 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.3782, allocations: 83.67 kB / 0.6261 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3783, allocations: 190.8 kB / 0.6263 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.3787, allocations: 0.4884 MB / 0.6268 GB, free: 4.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3788, allocations: 0 / 0.6268 GB, free: 4.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3788, allocations: 0 / 0.6268 GB, free: 4.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3788, allocations: 0 / 0.6268 GB, free: 4.219 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00273/0.3815, allocations: 1.021 MB / 0.6278 GB, free: 3.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3816, allocations: 8.031 kB / 0.6278 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.3831, allocations: 260.2 kB / 0.628 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.3835, allocations: 351.9 kB / 0.6284 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.3836, allocations: 92.02 kB / 0.6285 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.3837, allocations: 23.98 kB / 0.6285 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.3843, allocations: 364.8 kB / 0.6288 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3844, allocations: 4 kB / 0.6288 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.3844, allocations: 8 kB / 0.6289 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.3844, allocations: 8 kB / 0.6289 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.3851, allocations: 362.1 kB / 0.6292 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.3866, allocations: 1.018 MB / 0.6302 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006604/0.3933, allocations: 1.36 MB / 0.6315 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.3938, allocations: 264.6 kB / 0.6318 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.3939, allocations: 4 kB / 0.6318 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3939, allocations: 30.56 kB / 0.6318 GB, free: 14.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.645e-06/0.3939, allocations: 0 / 0.6318 GB, free: 14.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.0069/0.4008, allocations: 1.984 MB / 0.6338 GB, free: 12.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4009, allocations: 71.33 kB / 0.6338 GB, free: 12.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.4013, allocations: 312.6 kB / 0.6341 GB, free: 12.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.4013, allocations: 33.7 kB / 0.6342 GB, free: 12.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4015, allocations: 188.6 kB / 0.6343 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4016, allocations: 106.4 kB / 0.6344 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.4018, allocations: 53.89 kB / 0.6345 GB, free: 12.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4019, allocations: 346.7 kB / 0.6348 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.4024, allocations: 228.4 kB / 0.635 GB, free: 11.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.4029, allocations: 213 kB / 0.6352 GB, free: 11.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.4039, allocations: 470.9 kB / 0.6357 GB, free: 10.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4039, allocations: 0 / 0.6357 GB, free: 10.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004158/0.4081, allocations: 1.256 MB / 0.6369 GB, free: 9.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.4081, allocations: 10.03 kB / 0.6369 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4082, allocations: 3.984 kB / 0.6369 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/0.4113, allocations: 0.7556 MB / 0.6377 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.4115, allocations: 31.92 kB / 0.6377 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/0.4173, allocations: 3.138 MB / 0.6408 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.4179, allocations: 51.8 kB / 0.6408 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4179, allocations: 8 kB / 0.6408 GB, free: 5.387 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.4181, allocations: 145.8 kB / 0.641 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.4182, allocations: 39.53 kB / 0.641 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.4221, allocations: 1.21 MB / 0.6422 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4222, allocations: 8 kB / 0.6422 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4222, allocations: 0 / 0.6422 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4222, allocations: 7.984 kB / 0.6422 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.4228, allocations: 0.5088 MB / 0.6427 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4228, allocations: 8.062 kB / 0.6427 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.423, allocations: 35.92 kB / 0.6427 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/0.4256, allocations: 0.6775 MB / 0.6434 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.4257, allocations: 8 kB / 0.6434 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004651/0.4303, allocations: 2.672 MB / 0.646 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4303, allocations: 0 / 0.646 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/0.4349, allocations: 1.579 MB / 0.6475 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.435, allocations: 132.5 kB / 0.6477 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.4351, allocations: 4 kB / 0.6477 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.4356, allocations: 31.97 kB / 0.6477 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.4358, allocations: 83.88 kB / 0.6478 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.4358, allocations: 8 kB / 0.6478 GB, free: 13.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.4361, allocations: 235 kB / 0.648 GB, free: 13.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4361, allocations: 4.062 kB / 0.648 GB, free: 13.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.4367, allocations: 131.9 kB / 0.6481 GB, free: 13.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001952/0.4369, allocations: 107.2 kB / 0.6483 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.4394, allocations: 0.9863 MB / 0.6492 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4394, allocations: 0 / 0.6492 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.4412, allocations: 0.7094 MB / 0.6499 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.4416, allocations: 30.06 kB / 0.6499 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.4479, allocations: 1.115 MB / 0.651 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.4483, allocations: 0.7912 MB / 0.6518 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.4484, allocations: 19.44 kB / 0.6518 GB, free: 9.668 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4484, allocations: 0 / 0.6518 GB, free: 9.668 MB / 462.1 MB Notification: Performance of Templates: time 0.01178/0.4602, allocations: 9.468 MB / 0.6611 GB, free: 188 kB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)