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/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.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") [: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.003113/0.003113, allocations: 183.6 kB / 7.459 MB, free: 2.5 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.281/1.281, allocations: 221.4 MB / 229.3 MB, free: 3.23 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.001031/0.001032, allocations: 107.9 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4206/0.4206, allocations: 78.07 MB / 409 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.911e-06, allocations: 0 / 484.3 MB, free: 4.418 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2527, allocations: 69.35 MB / 0.5407 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3583, allocations: 91.28 MB / 0.6298 GB, free: 13.46 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.3585, allocations: 79.95 kB / 0.6299 GB, free: 13.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02739/0.3859, allocations: 8.702 MB / 0.6384 GB, free: 4.633 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.386, allocations: 9.094 kB / 0.6384 GB, free: 4.625 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002147/0.3881, allocations: 0.8331 MB / 0.6392 GB, free: 3.746 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3882, allocations: 8.031 kB / 0.6393 GB, free: 3.738 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.3895, allocations: 195.2 kB / 0.6394 GB, free: 3.547 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.3902, allocations: 379.7 kB / 0.6398 GB, free: 3.133 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.3903, allocations: 76.05 kB / 0.6399 GB, free: 3.047 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.3904, allocations: 19.91 kB / 0.6399 GB, free: 3.027 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006491/0.391, allocations: 325.2 kB / 0.6402 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.3916, allocations: 300.8 kB / 0.6405 GB, free: 2.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3917, allocations: 0 / 0.6405 GB, free: 2.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.3917, allocations: 0 / 0.6405 GB, free: 2.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3917, allocations: 15.94 kB / 0.6405 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.394, allocations: 1.072 MB / 0.6416 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.3946, allocations: 326.8 kB / 0.6419 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.3949, allocations: 204.9 kB / 0.6421 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.395, allocations: 8.594 kB / 0.6421 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.395, allocations: 42.55 kB / 0.6421 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.395, allocations: 0 / 0.6421 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003829/0.3989, allocations: 1.198 MB / 0.6433 GB, free: 15.47 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.3989, allocations: 55.41 kB / 0.6433 GB, free: 15.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.3993, allocations: 338.1 kB / 0.6437 GB, free: 15.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.3994, allocations: 25.7 kB / 0.6437 GB, free: 15.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.3995, allocations: 156.5 kB / 0.6438 GB, free: 14.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3996, allocations: 118.2 kB / 0.6439 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.3997, allocations: 0 / 0.6439 GB, free: 14.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3998, allocations: 358.7 kB / 0.6443 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.4001, allocations: 164.7 kB / 0.6444 GB, free: 14.24 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.4004, allocations: 165 kB / 0.6446 GB, free: 14.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.4008, allocations: 174.2 kB / 0.6448 GB, free: 13.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4008, allocations: 0 / 0.6448 GB, free: 13.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004173/0.4049, allocations: 1.327 MB / 0.6461 GB, free: 12.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.405, allocations: 11.03 kB / 0.6461 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.405, allocations: 0 / 0.6461 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/0.408, allocations: 0.7518 MB / 0.6468 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.4083, allocations: 43.91 kB / 0.6468 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0047/0.413, allocations: 2.494 MB / 0.6493 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4135, allocations: 55.81 kB / 0.6493 GB, free: 9.098 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.4136, allocations: 8 kB / 0.6493 GB, free: 9.09 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 (26): * Single equations (assignments): 23 * 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 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.4137, allocations: 112.8 kB / 0.6494 GB, free: 8.973 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4138, allocations: 39.53 kB / 0.6495 GB, free: 8.934 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/0.4176, allocations: 1.238 MB / 0.6507 GB, free: 7.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4176, allocations: 4 kB / 0.6507 GB, free: 7.676 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4177, allocations: 4 kB / 0.6507 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4177, allocations: 0 / 0.6507 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.4183, allocations: 0.4896 MB / 0.6512 GB, free: 7.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4183, allocations: 3.938 kB / 0.6512 GB, free: 7.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.4186, allocations: 31.98 kB / 0.6512 GB, free: 7.109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/0.4208, allocations: 0.623 MB / 0.6518 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.4208, allocations: 0 / 0.6518 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.4242, allocations: 2.015 MB / 0.6538 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4242, allocations: 4 kB / 0.6538 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004205/0.4284, allocations: 1.571 MB / 0.6553 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.4286, allocations: 124.5 kB / 0.6554 GB, free: 2.602 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4287, allocations: 7.938 kB / 0.6555 GB, free: 2.594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.4293, allocations: 43.95 kB / 0.6555 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.4295, allocations: 43.86 kB / 0.6555 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.4295, allocations: 12 kB / 0.6555 GB, free: 2.496 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003829/0.4299, allocations: 260.6 kB / 0.6558 GB, free: 2.242 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006018/0.4305, allocations: 143.8 kB / 0.6559 GB, free: 2.102 MB / 474.7 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 () * 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 (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.0002079/0.4307, allocations: 124.9 kB / 0.6561 GB, free: 1.969 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.4333, allocations: 0.9856 MB / 0.657 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4334, allocations: 0 / 0.657 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001827/0.4352, allocations: 0.7314 MB / 0.6577 GB, free: 148 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.4355, allocations: 29.16 kB / 0.6578 GB, free: 120 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.4374, allocations: 0.6376 MB / 0.6584 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/0.4381, allocations: 0.8379 MB / 0.6592 GB, free: 14.59 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4381, allocations: 0 / 0.6592 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Templates: time 0.01225/0.4504, allocations: 6.937 MB / 0.666 GB, free: 7.664 MB / 490.7 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)