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.001109/0.001109, allocations: 107 kB / 15.99 MB, free: 6.359 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.308/1.308, allocations: 222.9 MB / 239.6 MB, free: 4.699 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.001378/0.001378, allocations: 184.5 kB / 289.9 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4447/0.4447, allocations: 78.53 MB / 418.6 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 71.89 kB / 497.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1352, allocations: 68.19 MB / 0.5525 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.2323/0.3675, allocations: 2.92 MB / 0.5554 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3692, allocations: 0.9036 MB / 0.5562 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3693, allocations: 4.344 kB / 0.5562 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3696, allocations: 74.03 kB / 0.5563 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.3699, allocations: 98 kB / 0.5564 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.3708, allocations: 424.3 kB / 0.5568 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000384/0.3712, allocations: 424.7 kB / 0.5572 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.3714, allocations: 86.72 kB / 0.5573 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3716, allocations: 173.2 kB / 0.5575 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3718, allocations: 225.4 kB / 0.5577 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.3719, allocations: 32.97 kB / 0.5577 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.3721, allocations: 87.83 kB / 0.5578 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3721, allocations: 87.56 kB / 0.5579 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3723, allocations: 191.8 kB / 0.5581 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.3727, allocations: 381.8 kB / 0.5584 GB, free: 37.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3727, allocations: 1.625 kB / 0.5584 GB, free: 37.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3727, allocations: 0.75 kB / 0.5584 GB, free: 37.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.3727, allocations: 0 / 0.5584 GB, free: 37.13 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.00275/0.3755, allocations: 1.028 MB / 0.5594 GB, free: 36.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3755, allocations: 8.625 kB / 0.5594 GB, free: 36.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.3771, allocations: 262.2 kB / 0.5597 GB, free: 36.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.3775, allocations: 343.8 kB / 0.56 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.345e-05/0.3776, allocations: 86.23 kB / 0.5601 GB, free: 36.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.3776, allocations: 23.06 kB / 0.5601 GB, free: 36.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.3784, allocations: 369 kB / 0.5605 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3784, allocations: 0 / 0.5605 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.3784, allocations: 12.62 kB / 0.5605 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3784, allocations: 5.969 kB / 0.5605 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.3791, allocations: 364.2 kB / 0.5608 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3808, allocations: 1.029 MB / 0.5619 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006273/0.3871, allocations: 1.361 MB / 0.5632 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.3877, allocations: 263.2 kB / 0.5634 GB, free: 35.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.049e-05/0.3878, allocations: 3.469 kB / 0.5634 GB, free: 35.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3878, allocations: 40.89 kB / 0.5635 GB, free: 35.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.925e-06/0.3878, allocations: 0 / 0.5635 GB, free: 35.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006146/0.394, allocations: 1.979 MB / 0.5654 GB, free: 35.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.394, allocations: 60.3 kB / 0.5655 GB, free: 35.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.3944, allocations: 320.1 kB / 0.5658 GB, free: 35.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.3945, allocations: 29.45 kB / 0.5658 GB, free: 35.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.3946, allocations: 190 kB / 0.566 GB, free: 35.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.964e-05/0.3947, allocations: 102.4 kB / 0.5661 GB, free: 35.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3948, allocations: 59.3 kB / 0.5661 GB, free: 35.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.3949, allocations: 348.6 kB / 0.5665 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.3953, allocations: 215.6 kB / 0.5667 GB, free: 34.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.3957, allocations: 224.8 kB / 0.5669 GB, free: 34.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.3965, allocations: 468.4 kB / 0.5673 GB, free: 34.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3965, allocations: 0.5 kB / 0.5673 GB, free: 34.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003817/0.4003, allocations: 1.25 MB / 0.5686 GB, free: 34.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4004, allocations: 6.375 kB / 0.5686 GB, free: 34.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4004, allocations: 0 / 0.5686 GB, free: 34.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/0.4034, allocations: 0.7697 MB / 0.5693 GB, free: 34.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.4036, allocations: 28.95 kB / 0.5693 GB, free: 34.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005119/0.4087, allocations: 3.14 MB / 0.5724 GB, free: 33.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.4093, allocations: 54.3 kB / 0.5725 GB, free: 33.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.4094, allocations: 11.69 kB / 0.5725 GB, free: 33.17 MB / 430.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.0001756/0.4095, allocations: 143.1 kB / 0.5726 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.4096, allocations: 37.78 kB / 0.5726 GB, free: 33.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.4132, allocations: 1.213 MB / 0.5738 GB, free: 32.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4132, allocations: 8.391 kB / 0.5738 GB, free: 32.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.4132, allocations: 2.875 kB / 0.5738 GB, free: 32.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4132, allocations: 3.422 kB / 0.5738 GB, free: 32.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.4138, allocations: 0.5152 MB / 0.5743 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4138, allocations: 0 / 0.5743 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.414, allocations: 40.06 kB / 0.5744 GB, free: 32.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/0.4164, allocations: 0.6673 MB / 0.575 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.4165, allocations: 6.781 kB / 0.575 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003872/0.4203, allocations: 2.688 MB / 0.5777 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4204, allocations: 3.516 kB / 0.5777 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/0.4246, allocations: 1.571 MB / 0.5792 GB, free: 30.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.4248, allocations: 121.6 kB / 0.5793 GB, free: 30.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.4248, allocations: 9.844 kB / 0.5793 GB, free: 30.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.4253, allocations: 37.25 kB / 0.5794 GB, free: 30.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.4256, allocations: 83.02 kB / 0.5794 GB, free: 30.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.4256, allocations: 9.531 kB / 0.5795 GB, free: 30.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.4258, allocations: 231.1 kB / 0.5797 GB, free: 30.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4259, allocations: 1.188 kB / 0.5797 GB, free: 30.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000612/0.4265, allocations: 136.2 kB / 0.5798 GB, free: 30.64 MB / 430.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.0001723/0.4267, allocations: 107.3 kB / 0.5799 GB, free: 30.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002404/0.4291, allocations: 1.005 MB / 0.5809 GB, free: 30 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4291, allocations: 1.875 kB / 0.5809 GB, free: 30 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.4307, allocations: 0.7132 MB / 0.5816 GB, free: 29.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.4312, allocations: 29.78 kB / 0.5816 GB, free: 29.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/0.4377, allocations: 1.231 MB / 0.5828 GB, free: 28.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4381, allocations: 0.7922 MB / 0.5836 GB, free: 28.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4383, allocations: 25.09 kB / 0.5836 GB, free: 28.26 MB / 430.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4383, allocations: 0 / 0.5836 GB, free: 28.26 MB / 430.1 MB Notification: Performance of Templates: time 0.01474/0.453, allocations: 9.443 MB / 0.5928 GB, free: 27.67 MB / 430.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)