Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.299/1.299, allocations: 222.9 MB / 239 MB, free: 4.742 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.001232/0.001232, allocations: 196.5 kB / 289.3 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4531/0.4531, allocations: 78.52 MB / 417.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 75.88 kB / 496.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1187, allocations: 68.18 MB / 0.5519 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.2274/0.3462, allocations: 3.207 MB / 0.555 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3476, allocations: 0.9726 MB / 0.556 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.3477, allocations: 2.656 kB / 0.556 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.348, allocations: 86.53 kB / 0.556 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.3483, allocations: 126.6 kB / 0.5562 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.3491, allocations: 433 kB / 0.5566 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.3496, allocations: 0.5329 MB / 0.5571 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3498, allocations: 89.5 kB / 0.5572 GB, free: 37.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.35, allocations: 230.2 kB / 0.5574 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.3504, allocations: 293.8 kB / 0.5577 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.3504, allocations: 46.12 kB / 0.5577 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3506, allocations: 100.3 kB / 0.5578 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.3507, allocations: 123.1 kB / 0.5579 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.3509, allocations: 239.8 kB / 0.5582 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.3514, allocations: 0.5855 MB / 0.5587 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3514, allocations: 2.375 kB / 0.5587 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3514, allocations: 0 / 0.5587 GB, free: 37.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3515, allocations: 0 / 0.5587 GB, free: 37.21 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003055/0.3545, allocations: 1.15 MB / 0.5599 GB, free: 36.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3546, allocations: 7.438 kB / 0.5599 GB, free: 36.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.3561, allocations: 277.2 kB / 0.5601 GB, free: 36.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.3565, allocations: 421.3 kB / 0.5605 GB, free: 36.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.3566, allocations: 89.67 kB / 0.5606 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.3567, allocations: 29.91 kB / 0.5607 GB, free: 36.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.3574, allocations: 416.8 kB / 0.561 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3574, allocations: 1.078 kB / 0.5611 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.3575, allocations: 10.56 kB / 0.5611 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3575, allocations: 5.469 kB / 0.5611 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.3581, allocations: 385 kB / 0.5614 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.3598, allocations: 1.134 MB / 0.5625 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006168/0.366, allocations: 1.368 MB / 0.5639 GB, free: 35.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.3665, allocations: 281.1 kB / 0.5641 GB, free: 35.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-05/0.3666, allocations: 2.656 kB / 0.5641 GB, free: 35.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.3666, allocations: 41.06 kB / 0.5642 GB, free: 35.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.3667, allocations: 0 / 0.5642 GB, free: 35.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005807/0.3725, allocations: 1.983 MB / 0.5661 GB, free: 35.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.3725, allocations: 54.19 kB / 0.5662 GB, free: 35.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.373, allocations: 432.5 kB / 0.5666 GB, free: 35.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.373, allocations: 33.52 kB / 0.5666 GB, free: 35.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3731, allocations: 210.2 kB / 0.5668 GB, free: 35.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.3732, allocations: 123.6 kB / 0.5669 GB, free: 35.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3734, allocations: 63.86 kB / 0.567 GB, free: 35.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.3734, allocations: 350.5 kB / 0.5673 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/0.3739, allocations: 241.8 kB / 0.5676 GB, free: 34.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.3743, allocations: 238.4 kB / 0.5678 GB, free: 34.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/0.3752, allocations: 0.5119 MB / 0.5683 GB, free: 34.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3752, allocations: 0 / 0.5683 GB, free: 34.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003864/0.3791, allocations: 1.371 MB / 0.5696 GB, free: 34.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3791, allocations: 10.59 kB / 0.5696 GB, free: 34.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3791, allocations: 3 kB / 0.5696 GB, free: 34.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.3822, allocations: 0.8824 MB / 0.5705 GB, free: 34.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.3824, allocations: 38.61 kB / 0.5705 GB, free: 34.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.3878, allocations: 3.398 MB / 0.5739 GB, free: 33.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.3883, allocations: 45.88 kB / 0.5739 GB, free: 33.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3884, allocations: 6 kB / 0.5739 GB, free: 33.11 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 (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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.3885, allocations: 154.9 kB / 0.5741 GB, free: 32.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.3886, allocations: 47.09 kB / 0.5741 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.3919, allocations: 1.228 MB / 0.5753 GB, free: 32.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3919, allocations: 2.688 kB / 0.5753 GB, free: 32.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3919, allocations: 2.719 kB / 0.5753 GB, free: 32.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3919, allocations: 7.188 kB / 0.5753 GB, free: 32.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.3924, allocations: 0.5529 MB / 0.5759 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3924, allocations: 0 / 0.5759 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.3927, allocations: 42.02 kB / 0.5759 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.3947, allocations: 0.6237 MB / 0.5765 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.3947, allocations: 6.594 kB / 0.5765 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.3983, allocations: 2.553 MB / 0.579 GB, free: 31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3983, allocations: 5 kB / 0.579 GB, free: 30.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/0.4023, allocations: 1.61 MB / 0.5806 GB, free: 30.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.4025, allocations: 129.5 kB / 0.5807 GB, free: 30.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.4025, allocations: 14.19 kB / 0.5807 GB, free: 30.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.403, allocations: 30.86 kB / 0.5807 GB, free: 30.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.4033, allocations: 88.52 kB / 0.5808 GB, free: 30.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.4033, allocations: 6.406 kB / 0.5808 GB, free: 30.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.4036, allocations: 310.8 kB / 0.5811 GB, free: 30.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4036, allocations: 0 / 0.5811 GB, free: 30.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.4041, allocations: 146.6 kB / 0.5813 GB, free: 30.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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.0001661/0.4043, allocations: 112.2 kB / 0.5814 GB, free: 29.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.4071, allocations: 1.16 MB / 0.5825 GB, free: 29.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4071, allocations: 0 / 0.5825 GB, free: 29.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.4086, allocations: 0.7364 MB / 0.5832 GB, free: 28.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.409, allocations: 35.81 kB / 0.5833 GB, free: 28.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4105, allocations: 1.117 MB / 0.5844 GB, free: 28.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.4107, allocations: 0.8175 MB / 0.5852 GB, free: 27.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.4109, allocations: 33.39 kB / 0.5852 GB, free: 27.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.411, allocations: 26.16 kB / 0.5852 GB, free: 27.44 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.411, allocations: 0 / 0.5852 GB, free: 27.44 MB / 430.1 MB Notification: Performance of Templates: time 0.01307/0.4241, allocations: 8.57 MB / 0.5936 GB, free: 27.02 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)