Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001253/0.001253, allocations: 177.1 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.439/1.439, allocations: 225.7 MB / 241.9 MB, free: 200 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.0008575/0.0008575, allocations: 98.42 kB / 293.1 MB, free: 12.87 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.1711/0.1711, allocations: 43.17 MB / 387.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003098, allocations: 8 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 60.51 MB / 0.5069 GB, free: 10.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002524/0.1036, allocations: 2.452 MB / 0.5093 GB, free: 8.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1051, allocations: 1.163 MB / 0.5104 GB, free: 7.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1052, allocations: 4 kB / 0.5104 GB, free: 7.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1054, allocations: 75.58 kB / 0.5105 GB, free: 7.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1057, allocations: 99.23 kB / 0.5106 GB, free: 6.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1067, allocations: 0.7779 MB / 0.5114 GB, free: 6.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.1071, allocations: 402.3 kB / 0.5118 GB, free: 5.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1073, allocations: 81.34 kB / 0.5118 GB, free: 5.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1074, allocations: 151.2 kB / 0.512 GB, free: 5.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1077, allocations: 215 kB / 0.5122 GB, free: 5.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.1077, allocations: 19.98 kB / 0.5122 GB, free: 5.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1079, allocations: 63.98 kB / 0.5123 GB, free: 5.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.108, allocations: 71.61 kB / 0.5123 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1081, allocations: 196.6 kB / 0.5125 GB, free: 4.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.1086, allocations: 470.5 kB / 0.513 GB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1086, allocations: 0 / 0.513 GB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1086, allocations: 0 / 0.513 GB, free: 4.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1086, allocations: 4 kB / 0.513 GB, free: 4.453 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.002625/0.1112, allocations: 0.9821 MB / 0.5139 GB, free: 3.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1113, allocations: 8.031 kB / 0.5139 GB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.1128, allocations: 256.2 kB / 0.5142 GB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.1132, allocations: 351.9 kB / 0.5145 GB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.1133, allocations: 92.08 kB / 0.5146 GB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.1134, allocations: 20 kB / 0.5146 GB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.1142, allocations: 392.8 kB / 0.515 GB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1142, allocations: 3.984 kB / 0.515 GB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.1143, allocations: 12 kB / 0.515 GB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1143, allocations: 4 kB / 0.515 GB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007683/0.115, allocations: 386.1 kB / 0.5154 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.117, allocations: 1.056 MB / 0.5164 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/0.1239, allocations: 1.822 MB / 0.5182 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.1244, allocations: 292.7 kB / 0.5185 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.552e-05/0.1245, allocations: 4 kB / 0.5185 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1245, allocations: 34.56 kB / 0.5185 GB, free: 14.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.1246, allocations: 0 / 0.5185 GB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.006719/0.1313, allocations: 2.396 MB / 0.5209 GB, free: 12.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1314, allocations: 55.41 kB / 0.5209 GB, free: 12.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.1318, allocations: 320.5 kB / 0.5212 GB, free: 11.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.1318, allocations: 29.7 kB / 0.5212 GB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1319, allocations: 184.6 kB / 0.5214 GB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1321, allocations: 102.5 kB / 0.5215 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.1321, allocations: 11.94 kB / 0.5215 GB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1322, allocations: 354.7 kB / 0.5219 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.1327, allocations: 236.5 kB / 0.5221 GB, free: 10.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.1332, allocations: 249 kB / 0.5223 GB, free: 10.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009347/0.1341, allocations: 0.5028 MB / 0.5228 GB, free: 10.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1341, allocations: 4 kB / 0.5228 GB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004077/0.1382, allocations: 1.491 MB / 0.5243 GB, free: 8.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1382, allocations: 4 kB / 0.5243 GB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1383, allocations: 7.938 kB / 0.5243 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/0.1413, allocations: 0.8922 MB / 0.5252 GB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.1414, allocations: 31.92 kB / 0.5252 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/0.1467, allocations: 3.065 MB / 0.5282 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.1472, allocations: 59.77 kB / 0.5282 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.1473, allocations: 8 kB / 0.5283 GB, free: 4.348 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.0001781/0.1475, allocations: 145.8 kB / 0.5284 GB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.1475, allocations: 35.56 kB / 0.5284 GB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/0.1514, allocations: 1.448 MB / 0.5298 GB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1515, allocations: 11.88 kB / 0.5298 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1515, allocations: 4 kB / 0.5299 GB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1515, allocations: 3.984 kB / 0.5299 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.152, allocations: 0.5126 MB / 0.5304 GB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.152, allocations: 4 kB / 0.5304 GB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.1522, allocations: 31.98 kB / 0.5304 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.1548, allocations: 0.7948 MB / 0.5312 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.1548, allocations: 4 kB / 0.5312 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2314/0.3862, allocations: 2.644 MB / 0.5338 GB, free: 31.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3863, allocations: 3.188 kB / 0.5338 GB, free: 31.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/0.3915, allocations: 1.836 MB / 0.5355 GB, free: 31.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.3917, allocations: 115.3 kB / 0.5357 GB, free: 31.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.3918, allocations: 7.016 kB / 0.5357 GB, free: 31.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.3922, allocations: 45.66 kB / 0.5357 GB, free: 31.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.3925, allocations: 89.06 kB / 0.5358 GB, free: 31.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.3926, allocations: 6 kB / 0.5358 GB, free: 31.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002691/0.3928, allocations: 230.2 kB / 0.536 GB, free: 31.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3928, allocations: 0 / 0.536 GB, free: 31.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.3934, allocations: 146.5 kB / 0.5362 GB, free: 31.29 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.0001982/0.3936, allocations: 111.8 kB / 0.5363 GB, free: 31.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.3962, allocations: 1.097 MB / 0.5373 GB, free: 30.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3962, allocations: 1.25 kB / 0.5373 GB, free: 30.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.398, allocations: 0.7988 MB / 0.5381 GB, free: 30.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.3984, allocations: 27.39 kB / 0.5381 GB, free: 30.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/0.4047, allocations: 1.239 MB / 0.5394 GB, free: 30 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.4052, allocations: 0.7904 MB / 0.5401 GB, free: 29.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.4054, allocations: 21.5 kB / 0.5401 GB, free: 29.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4055, allocations: 25.38 kB / 0.5402 GB, free: 29.29 MB / 362.7 MB Notification: Performance of SimCode: time 2.565e-06/0.4055, allocations: 0.9688 kB / 0.5402 GB, free: 29.29 MB / 362.7 MB Notification: Performance of Templates: time 0.01435/0.4198, allocations: 7.184 MB / 0.5472 GB, free: 28.09 MB / 362.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)