Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1242/0.1242, allocations: 12.6 MB / 28.87 MB, free: 0.6641 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 111.5 kB / 32.46 MB, free: 3.613 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 241.1 MB, free: 12.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 187.8 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4819/0.4819, allocations: 78.51 MB / 419.9 MB, free: 11.3 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004103/0.004103, allocations: 139.8 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4118, allocations: 68.12 MB / 0.556 GB, free: 33.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004485/0.4163, allocations: 2.992 MB / 0.5589 GB, free: 30.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.4183, allocations: 0.9924 MB / 0.5599 GB, free: 30.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.4185, allocations: 2.781 kB / 0.5599 GB, free: 30.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.4188, allocations: 101.8 kB / 0.56 GB, free: 30.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.4192, allocations: 142 kB / 0.5601 GB, free: 30.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009278/0.4201, allocations: 471 kB / 0.5606 GB, free: 29.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.4206, allocations: 0.4969 MB / 0.5611 GB, free: 29.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.4208, allocations: 101.4 kB / 0.5612 GB, free: 29.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.4211, allocations: 216.4 kB / 0.5614 GB, free: 29.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.4215, allocations: 283.1 kB / 0.5616 GB, free: 29.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.4215, allocations: 44.16 kB / 0.5617 GB, free: 29.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.4218, allocations: 96.28 kB / 0.5618 GB, free: 28.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.4219, allocations: 105.5 kB / 0.5619 GB, free: 28.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.4221, allocations: 230.5 kB / 0.5621 GB, free: 28.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.4226, allocations: 0.5657 MB / 0.5626 GB, free: 28.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4227, allocations: 1.5 kB / 0.5626 GB, free: 28.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4227, allocations: 0 / 0.5626 GB, free: 28.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.4227, allocations: 0 / 0.5626 GB, free: 28.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00332/0.426, allocations: 1.111 MB / 0.5637 GB, free: 27.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4261, allocations: 13.73 kB / 0.5637 GB, free: 27.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.4277, allocations: 277.7 kB / 0.564 GB, free: 27.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.4282, allocations: 407.1 kB / 0.5644 GB, free: 27.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.4283, allocations: 86.52 kB / 0.5645 GB, free: 26.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.4284, allocations: 25.53 kB / 0.5645 GB, free: 26.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.4292, allocations: 401.6 kB / 0.5649 GB, free: 26.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4292, allocations: 3.938 kB / 0.5649 GB, free: 26.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.4292, allocations: 10.22 kB / 0.5649 GB, free: 26.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4292, allocations: 5.688 kB / 0.5649 GB, free: 26.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.43, allocations: 388.5 kB / 0.5653 GB, free: 26.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.4319, allocations: 1.089 MB / 0.5663 GB, free: 25.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006252/0.4382, allocations: 1.385 MB / 0.5677 GB, free: 25.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005445/0.4388, allocations: 272.2 kB / 0.5679 GB, free: 24.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.376e-05/0.4388, allocations: 4.031 kB / 0.568 GB, free: 24.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4389, allocations: 40.72 kB / 0.568 GB, free: 24.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.4389, allocations: 0 / 0.568 GB, free: 24.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.006388/0.4453, allocations: 1.961 MB / 0.5699 GB, free: 23.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4453, allocations: 54.75 kB / 0.57 GB, free: 23.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.446, allocations: 400.7 kB / 0.5703 GB, free: 23.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.4461, allocations: 38.92 kB / 0.5704 GB, free: 23.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.4463, allocations: 207.4 kB / 0.5706 GB, free: 23.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.4464, allocations: 117.4 kB / 0.5707 GB, free: 23.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.4465, allocations: 63.05 kB / 0.5707 GB, free: 23.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4467, allocations: 352.2 kB / 0.5711 GB, free: 22.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.4472, allocations: 232 kB / 0.5713 GB, free: 22.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.4477, allocations: 228.2 kB / 0.5715 GB, free: 22.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.4487, allocations: 497.3 kB / 0.572 GB, free: 22.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4488, allocations: 0 / 0.572 GB, free: 22.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003896/0.4527, allocations: 1.279 MB / 0.5732 GB, free: 21.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4527, allocations: 4 kB / 0.5732 GB, free: 21.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4527, allocations: 0 / 0.5732 GB, free: 21.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/0.4554, allocations: 0.7634 MB / 0.574 GB, free: 20.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4556, allocations: 35.92 kB / 0.574 GB, free: 20.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005291/0.4609, allocations: 3.109 MB / 0.5771 GB, free: 17.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.4615, allocations: 55.75 kB / 0.5771 GB, free: 17.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.4616, allocations: 4 kB / 0.5771 GB, free: 17.3 MB / 398.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 (26): * Single equations (assignments): 23 * 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.4618, allocations: 145.8 kB / 0.5773 GB, free: 17.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.4618, allocations: 47.38 kB / 0.5773 GB, free: 17.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/0.4649, allocations: 1.214 MB / 0.5785 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.4649, allocations: 4 kB / 0.5785 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4649, allocations: 7.984 kB / 0.5785 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4649, allocations: 3.938 kB / 0.5785 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.4654, allocations: 0.5245 MB / 0.579 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4654, allocations: 0 / 0.579 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.4657, allocations: 43.98 kB / 0.5791 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.4675, allocations: 0.6229 MB / 0.5797 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.4676, allocations: 4 kB / 0.5797 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/0.471, allocations: 2.56 MB / 0.5822 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.471, allocations: 0 / 0.5822 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.4745, allocations: 1.574 MB / 0.5837 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.4746, allocations: 124.6 kB / 0.5838 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.4747, allocations: 15.94 kB / 0.5838 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.4751, allocations: 35.97 kB / 0.5839 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.4753, allocations: 87.88 kB / 0.584 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.4754, allocations: 4 kB / 0.584 GB, free: 10.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.4756, allocations: 291.2 kB / 0.5842 GB, free: 9.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4757, allocations: 0 / 0.5842 GB, free: 9.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.4761, allocations: 139.8 kB / 0.5844 GB, free: 9.605 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * 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.0002122/0.4764, allocations: 117.6 kB / 0.5845 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.4788, allocations: 1.081 MB / 0.5855 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4788, allocations: 0 / 0.5855 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.4802, allocations: 0.7287 MB / 0.5863 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.4806, allocations: 38.16 kB / 0.5863 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4821, allocations: 0.8474 MB / 0.5871 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.4823, allocations: 0.8149 MB / 0.5879 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.4824, allocations: 30.97 kB / 0.5879 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.342e-05/0.4825, allocations: 31.44 kB / 0.588 GB, free: 5.746 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4825, allocations: 0 / 0.588 GB, free: 5.746 MB / 398.1 MB Notification: Performance of Templates: time 0.0124/0.4949, allocations: 8.341 MB / 0.5961 GB, free: 13.43 MB / 414.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)