Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 112 kB / 15.99 MB, free: 6.348 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.322/1.322, allocations: 222.9 MB / 239.6 MB, free: 4.578 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.001532/0.001532, allocations: 200.4 kB / 289.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4682/0.4682, allocations: 78.52 MB / 418.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 79.88 kB / 497.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 68.18 MB / 0.5525 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2519/0.3949, allocations: 3.132 MB / 0.5556 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3968, allocations: 0.9535 MB / 0.5565 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.397, allocations: 3.688 kB / 0.5565 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.3974, allocations: 79.41 kB / 0.5566 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.3977, allocations: 126.2 kB / 0.5567 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009091/0.3987, allocations: 437.7 kB / 0.5571 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.3992, allocations: 0.4979 MB / 0.5576 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.3994, allocations: 97.2 kB / 0.5577 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.3997, allocations: 210.5 kB / 0.5579 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.4, allocations: 276.9 kB / 0.5582 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.4001, allocations: 42.12 kB / 0.5582 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.4003, allocations: 100.3 kB / 0.5583 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.4004, allocations: 116.9 kB / 0.5584 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.4005, allocations: 225.2 kB / 0.5586 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.401, allocations: 447.9 kB / 0.559 GB, free: 37.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.401, allocations: 2.25 kB / 0.559 GB, free: 37.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.401, allocations: 0 / 0.559 GB, free: 37.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.401, allocations: 0 / 0.559 GB, free: 37.16 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.003193/0.4042, allocations: 1.117 MB / 0.5601 GB, free: 36.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4043, allocations: 10.03 kB / 0.5601 GB, free: 36.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.4059, allocations: 270.8 kB / 0.5604 GB, free: 36.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.4064, allocations: 408.9 kB / 0.5608 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.4065, allocations: 85.22 kB / 0.5609 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/0.4066, allocations: 27.14 kB / 0.5609 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.4073, allocations: 401.2 kB / 0.5613 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4074, allocations: 1.875 kB / 0.5613 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.4074, allocations: 12.56 kB / 0.5613 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4074, allocations: 7.375 kB / 0.5613 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.4081, allocations: 388.9 kB / 0.5617 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.4101, allocations: 1.094 MB / 0.5627 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/0.4163, allocations: 1.384 MB / 0.5641 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.4169, allocations: 278.1 kB / 0.5644 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.698e-05/0.417, allocations: 2.344 kB / 0.5644 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.417, allocations: 39.09 kB / 0.5644 GB, free: 35.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.815e-06/0.417, allocations: 0 / 0.5644 GB, free: 35.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005767/0.4228, allocations: 1.954 MB / 0.5663 GB, free: 35.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4229, allocations: 56.5 kB / 0.5664 GB, free: 35.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.4234, allocations: 405 kB / 0.5667 GB, free: 35.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.4234, allocations: 33.27 kB / 0.5668 GB, free: 35.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4236, allocations: 211.2 kB / 0.567 GB, free: 35.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4237, allocations: 126.7 kB / 0.5671 GB, free: 35.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.4238, allocations: 52.7 kB / 0.5672 GB, free: 35.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.4239, allocations: 351.8 kB / 0.5675 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.4243, allocations: 228.4 kB / 0.5677 GB, free: 34.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.4247, allocations: 230.4 kB / 0.5679 GB, free: 34.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.4256, allocations: 499.7 kB / 0.5684 GB, free: 34.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4256, allocations: 2.719 kB / 0.5684 GB, free: 34.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003757/0.4294, allocations: 1.28 MB / 0.5697 GB, free: 34.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.4295, allocations: 6.094 kB / 0.5697 GB, free: 34.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4295, allocations: 0.5625 kB / 0.5697 GB, free: 34.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/0.4323, allocations: 0.7672 MB / 0.5704 GB, free: 34.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4326, allocations: 41.3 kB / 0.5705 GB, free: 34.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005498/0.4381, allocations: 3.107 MB / 0.5735 GB, free: 33.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.4387, allocations: 51.52 kB / 0.5735 GB, free: 33.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.4388, allocations: 10.34 kB / 0.5735 GB, free: 33.08 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.439, allocations: 149.7 kB / 0.5737 GB, free: 32.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4391, allocations: 39.19 kB / 0.5737 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.4426, allocations: 1.223 MB / 0.5749 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.4426, allocations: 3.625 kB / 0.5749 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.4427, allocations: 5.219 kB / 0.5749 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4427, allocations: 3.938 kB / 0.5749 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.4433, allocations: 0.5241 MB / 0.5754 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4434, allocations: 0.75 kB / 0.5754 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.4436, allocations: 44.61 kB / 0.5755 GB, free: 32.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.4457, allocations: 0.6295 MB / 0.5761 GB, free: 32.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.4458, allocations: 5.875 kB / 0.5761 GB, free: 32.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/0.4495, allocations: 2.551 MB / 0.5786 GB, free: 31.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4496, allocations: 0 / 0.5786 GB, free: 31.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.4539, allocations: 1.579 MB / 0.5801 GB, free: 30.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.4541, allocations: 125.8 kB / 0.5803 GB, free: 30.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.4543, allocations: 9.188 kB / 0.5803 GB, free: 30.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.4548, allocations: 34.91 kB / 0.5803 GB, free: 30.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/0.455, allocations: 87.36 kB / 0.5804 GB, free: 30.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.4551, allocations: 14.19 kB / 0.5804 GB, free: 30.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.4555, allocations: 292.5 kB / 0.5807 GB, free: 30.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4555, allocations: 1.094 kB / 0.5807 GB, free: 30.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006183/0.4561, allocations: 142.2 kB / 0.5808 GB, free: 30.48 MB / 430.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.0001874/0.4563, allocations: 103.1 kB / 0.5809 GB, free: 30.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002811/0.4591, allocations: 1.094 MB / 0.582 GB, free: 29.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4591, allocations: 2.812 kB / 0.582 GB, free: 29.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.4608, allocations: 0.7258 MB / 0.5827 GB, free: 29.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.4613, allocations: 35.89 kB / 0.5827 GB, free: 29.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.4632, allocations: 1.024 MB / 0.5837 GB, free: 28.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.4635, allocations: 0.8149 MB / 0.5845 GB, free: 27.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.4637, allocations: 30.78 kB / 0.5845 GB, free: 27.95 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4637, allocations: 0 / 0.5845 GB, free: 27.95 MB / 430.1 MB Notification: Performance of Templates: time 0.01809/0.4818, allocations: 10.48 MB / 0.5948 GB, free: 27.3 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)