Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001043, allocations: 180.9 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.7 MB / 241.9 MB, free: 384 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007647/0.0007645, allocations: 94.2 kB / 293.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1676/0.1676, allocations: 43.17 MB / 387.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 8 kB / 458.6 MB, free: 55.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 60.51 MB / 0.5069 GB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002531/0.122, allocations: 2.448 MB / 0.5093 GB, free: 8.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1235, allocations: 1.163 MB / 0.5104 GB, free: 7.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1236, allocations: 4 kB / 0.5105 GB, free: 7.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1239, allocations: 75.58 kB / 0.5105 GB, free: 7.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1241, allocations: 95.27 kB / 0.5106 GB, free: 6.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1252, allocations: 0.7857 MB / 0.5114 GB, free: 6.102 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.1256, allocations: 398.3 kB / 0.5118 GB, free: 5.711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1258, allocations: 85.36 kB / 0.5118 GB, free: 5.621 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.126, allocations: 151.3 kB / 0.512 GB, free: 5.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.1263, allocations: 203 kB / 0.5122 GB, free: 5.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.1263, allocations: 20 kB / 0.5122 GB, free: 5.254 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1265, allocations: 71.91 kB / 0.5123 GB, free: 5.184 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.1266, allocations: 75.53 kB / 0.5123 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.1267, allocations: 196.6 kB / 0.5125 GB, free: 4.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.1272, allocations: 470.5 kB / 0.513 GB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1272, allocations: 0 / 0.513 GB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1272, allocations: 0 / 0.513 GB, free: 4.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1272, allocations: 0 / 0.513 GB, free: 4.449 MB / 346.7 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.002777/0.13, allocations: 0.9782 MB / 0.5139 GB, free: 3.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1301, allocations: 12.03 kB / 0.5139 GB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.1316, allocations: 260.2 kB / 0.5142 GB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.1321, allocations: 347.9 kB / 0.5145 GB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1323, allocations: 96.08 kB / 0.5146 GB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.1323, allocations: 20 kB / 0.5146 GB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.1331, allocations: 392.8 kB / 0.515 GB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1331, allocations: 0 / 0.515 GB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.1332, allocations: 8 kB / 0.515 GB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1332, allocations: 8 kB / 0.515 GB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.1339, allocations: 386 kB / 0.5154 GB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.1358, allocations: 1.06 MB / 0.5164 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006863/0.1427, allocations: 1.825 MB / 0.5182 GB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.1433, allocations: 285.3 kB / 0.5185 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.1434, allocations: 4 kB / 0.5185 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1434, allocations: 42.55 kB / 0.5185 GB, free: 14.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.1434, allocations: 0 / 0.5185 GB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.006898/0.1503, allocations: 2.392 MB / 0.5209 GB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.1504, allocations: 55.41 kB / 0.5209 GB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.1508, allocations: 316.5 kB / 0.5212 GB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.1508, allocations: 33.7 kB / 0.5213 GB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1509, allocations: 184.6 kB / 0.5214 GB, free: 11.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.151, allocations: 110.5 kB / 0.5215 GB, free: 11.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.1511, allocations: 4 kB / 0.5215 GB, free: 11.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1512, allocations: 346.8 kB / 0.5219 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.1517, allocations: 248.4 kB / 0.5221 GB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.1522, allocations: 241 kB / 0.5223 GB, free: 10.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.1533, allocations: 0.5067 MB / 0.5228 GB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1533, allocations: 0 / 0.5228 GB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004378/0.1577, allocations: 1.499 MB / 0.5243 GB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1577, allocations: 4 kB / 0.5243 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1577, allocations: 3.938 kB / 0.5243 GB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/0.1608, allocations: 0.8884 MB / 0.5252 GB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.161, allocations: 27.92 kB / 0.5252 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/0.1665, allocations: 3.061 MB / 0.5282 GB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.167, allocations: 59.78 kB / 0.5282 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.1671, allocations: 7.984 kB / 0.5282 GB, free: 4.352 MB / 362.7 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.0001919/0.1673, allocations: 149.8 kB / 0.5284 GB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.1673, allocations: 39.56 kB / 0.5284 GB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/0.1713, allocations: 1.448 MB / 0.5298 GB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1714, allocations: 7.938 kB / 0.5299 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1714, allocations: 128 / 0.5299 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1714, allocations: 4 kB / 0.5299 GB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.172, allocations: 0.5204 MB / 0.5304 GB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.172, allocations: 3.984 kB / 0.5304 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.1722, allocations: 28 kB / 0.5304 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/0.1748, allocations: 0.8025 MB / 0.5312 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.1748, allocations: 8 kB / 0.5312 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2155/0.3903, allocations: 2.632 MB / 0.5338 GB, free: 31.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3904, allocations: 2 kB / 0.5338 GB, free: 31.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004833/0.3952, allocations: 1.834 MB / 0.5355 GB, free: 31.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3954, allocations: 114.9 kB / 0.5357 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.3954, allocations: 5.766 kB / 0.5357 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.3958, allocations: 46.66 kB / 0.5357 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.3961, allocations: 92.45 kB / 0.5358 GB, free: 31.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.3962, allocations: 6.062 kB / 0.5358 GB, free: 31.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003093/0.3965, allocations: 226.9 kB / 0.536 GB, free: 31.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3965, allocations: 0 / 0.536 GB, free: 31.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006868/0.3972, allocations: 140.6 kB / 0.5362 GB, free: 31.41 MB / 362.7 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.0002439/0.3975, allocations: 117.8 kB / 0.5363 GB, free: 31.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.4002, allocations: 1.095 MB / 0.5373 GB, free: 30.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4003, allocations: 1.375 kB / 0.5373 GB, free: 30.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.402, allocations: 0.8062 MB / 0.5381 GB, free: 30.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.4024, allocations: 30.02 kB / 0.5381 GB, free: 30.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.4086, allocations: 1.233 MB / 0.5394 GB, free: 30.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.409, allocations: 0.7961 MB / 0.5401 GB, free: 29.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.4091, allocations: 21.72 kB / 0.5402 GB, free: 29.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.4092, allocations: 20.7 kB / 0.5402 GB, free: 29.38 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.4092, allocations: 1.156 kB / 0.5402 GB, free: 29.38 MB / 362.7 MB Notification: Performance of Templates: time 0.01408/0.4233, allocations: 7.194 MB / 0.5472 GB, free: 28.18 MB / 362.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)