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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003617/0.003617, allocations: 189.1 kB / 7.458 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.4 MB / 229.3 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009399, allocations: 93.59 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4219/0.4219, allocations: 78.05 MB / 408.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.292e-06, allocations: 0 / 484.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 69.35 MB / 0.5407 GB, free: 21.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3903, allocations: 90.72 MB / 0.6293 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.3906, allocations: 75.95 kB / 0.6294 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02233/0.413, allocations: 7.586 MB / 0.6368 GB, free: 6.391 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.413, allocations: 4 kB / 0.6368 GB, free: 6.387 MB / 458.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.002001/0.415, allocations: 0.7912 MB / 0.6376 GB, free: 5.551 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4151, allocations: 8.031 kB / 0.6376 GB, free: 5.543 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.4163, allocations: 187.3 kB / 0.6378 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.417, allocations: 326.8 kB / 0.6381 GB, free: 5.004 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.4171, allocations: 79.89 kB / 0.6381 GB, free: 4.914 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.4172, allocations: 16 kB / 0.6382 GB, free: 4.898 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005821/0.4177, allocations: 289 kB / 0.6384 GB, free: 4.613 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.4183, allocations: 275.1 kB / 0.6387 GB, free: 4.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4183, allocations: 0 / 0.6387 GB, free: 4.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.4183, allocations: 3.984 kB / 0.6387 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4184, allocations: 11.91 kB / 0.6387 GB, free: 4.324 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.4205, allocations: 1.005 MB / 0.6397 GB, free: 3.277 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.4208, allocations: 185.7 kB / 0.6399 GB, free: 3.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.4212, allocations: 192.9 kB / 0.64 GB, free: 2.898 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.606e-05/0.4212, allocations: 11.92 kB / 0.6401 GB, free: 2.887 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4213, allocations: 34.56 kB / 0.6401 GB, free: 2.844 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.4213, allocations: 0 / 0.6401 GB, free: 2.844 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.004201/0.4255, allocations: 1.21 MB / 0.6413 GB, free: 1.617 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.4255, allocations: 55.41 kB / 0.6413 GB, free: 1.551 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.4259, allocations: 263.6 kB / 0.6416 GB, free: 1.285 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.4259, allocations: 25.7 kB / 0.6416 GB, free: 1.254 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.426, allocations: 144.4 kB / 0.6417 GB, free: 1.109 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.4261, allocations: 106.4 kB / 0.6418 GB, free: 1.004 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.4262, allocations: 0 / 0.6418 GB, free: 1.004 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4263, allocations: 342.8 kB / 0.6422 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.4266, allocations: 160.6 kB / 0.6423 GB, free: 0.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.4268, allocations: 160.8 kB / 0.6425 GB, free: 352 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.4271, allocations: 169.9 kB / 0.6426 GB, free: 184 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4272, allocations: 3.938 kB / 0.6426 GB, free: 180 kB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004167/0.4313, allocations: 1.293 MB / 0.6439 GB, free: 14.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4314, allocations: 4 kB / 0.6439 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4314, allocations: 3.938 kB / 0.6439 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/0.4345, allocations: 0.7597 MB / 0.6447 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.4347, allocations: 39.86 kB / 0.6447 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/0.4392, allocations: 2.459 MB / 0.6471 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.4398, allocations: 59.72 kB / 0.6472 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.4399, allocations: 4 kB / 0.6472 GB, free: 11.41 MB / 474.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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.44, allocations: 112.9 kB / 0.6473 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.4401, allocations: 35.53 kB / 0.6473 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.444, allocations: 1.241 MB / 0.6485 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.444, allocations: 4 kB / 0.6485 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.444, allocations: 0 / 0.6485 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.444, allocations: 8 kB / 0.6485 GB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.4446, allocations: 473.5 kB / 0.649 GB, free: 9.492 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4446, allocations: 0 / 0.649 GB, free: 9.492 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.4448, allocations: 31.92 kB / 0.649 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/0.4474, allocations: 0.6738 MB / 0.6497 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.4474, allocations: 3.984 kB / 0.6497 GB, free: 8.773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.4508, allocations: 2.096 MB / 0.6517 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4508, allocations: 0 / 0.6517 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004357/0.4552, allocations: 1.572 MB / 0.6532 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.4553, allocations: 112.7 kB / 0.6534 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.4554, allocations: 0 / 0.6534 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.4559, allocations: 48.03 kB / 0.6534 GB, free: 4.785 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4561, allocations: 39.92 kB / 0.6534 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.4561, allocations: 12.03 kB / 0.6534 GB, free: 4.734 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002589/0.4564, allocations: 211.1 kB / 0.6537 GB, free: 4.527 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005482/0.457, allocations: 139.8 kB / 0.6538 GB, free: 4.391 MB / 474.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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000203/0.4572, allocations: 123 kB / 0.6539 GB, free: 4.262 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.4593, allocations: 0.8998 MB / 0.6548 GB, free: 3.309 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4593, allocations: 0 / 0.6548 GB, free: 3.309 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.461, allocations: 0.7043 MB / 0.6555 GB, free: 2.551 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.4613, allocations: 23.39 kB / 0.6555 GB, free: 2.527 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.4681, allocations: 0.8845 MB / 0.6564 GB, free: 1.613 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.4686, allocations: 0.8177 MB / 0.6572 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4687, allocations: 0 / 0.6572 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of Templates: time 0.01124/0.4799, allocations: 6.71 MB / 0.6637 GB, free: 10.07 MB / 490.7 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)