Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_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_release_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.00175/0.00175, allocations: 180.2 kB / 7.458 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.061/1.061, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0008866/0.0008866, allocations: 100.6 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3639/0.3639, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.059e-06/5.149e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2331, allocations: 69.35 MB / 0.5408 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0925/0.3257, allocations: 91.26 MB / 0.6299 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.3259, allocations: 75.95 kB / 0.63 GB, free: 13.63 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02221/0.3481, allocations: 8.707 MB / 0.6385 GB, free: 4.859 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.3481, allocations: 8 kB / 0.6385 GB, free: 4.852 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.001766/0.3499, allocations: 0.8254 MB / 0.6393 GB, free: 3.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.35, allocations: 12.03 kB / 0.6393 GB, free: 3.969 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.351, allocations: 195.2 kB / 0.6395 GB, free: 3.777 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.3515, allocations: 375.7 kB / 0.6398 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.807e-05/0.3516, allocations: 80.05 kB / 0.6399 GB, free: 3.277 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.3517, allocations: 23.89 kB / 0.6399 GB, free: 3.254 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000533/0.3522, allocations: 317.3 kB / 0.6402 GB, free: 2.945 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.3527, allocations: 300.8 kB / 0.6405 GB, free: 2.645 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3527, allocations: 3.938 kB / 0.6405 GB, free: 2.641 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.3528, allocations: 4 kB / 0.6405 GB, free: 2.637 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3528, allocations: 4 kB / 0.6405 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.3547, allocations: 1.08 MB / 0.6416 GB, free: 1.516 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.3551, allocations: 330.7 kB / 0.6419 GB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.3554, allocations: 208.8 kB / 0.6421 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/0.3555, allocations: 4.594 kB / 0.6421 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3555, allocations: 38.56 kB / 0.6421 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.393e-06/0.3555, allocations: 4 kB / 0.6421 GB, free: 0.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.003246/0.3588, allocations: 1.201 MB / 0.6433 GB, free: 15.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.3588, allocations: 59.41 kB / 0.6434 GB, free: 15.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.3592, allocations: 334.1 kB / 0.6437 GB, free: 15.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.3592, allocations: 25.7 kB / 0.6437 GB, free: 15.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.3593, allocations: 152.5 kB / 0.6439 GB, free: 15.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.39e-05/0.3594, allocations: 122.2 kB / 0.644 GB, free: 14.99 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.3594, allocations: 0 / 0.644 GB, free: 14.99 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3595, allocations: 350.7 kB / 0.6443 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3598, allocations: 164.7 kB / 0.6445 GB, free: 14.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.36, allocations: 173 kB / 0.6446 GB, free: 14.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.3603, allocations: 178.2 kB / 0.6448 GB, free: 14.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3603, allocations: 0 / 0.6448 GB, free: 14.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003663/0.364, allocations: 1.315 MB / 0.6461 GB, free: 12.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.364, allocations: 7.906 kB / 0.6461 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.364, allocations: 0 / 0.6461 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/0.3667, allocations: 0.7591 MB / 0.6468 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.3669, allocations: 35.98 kB / 0.6469 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/0.3711, allocations: 2.5 MB / 0.6493 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.3716, allocations: 51.81 kB / 0.6494 GB, free: 9.332 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.3716, allocations: 8 kB / 0.6494 GB, free: 9.324 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.0001252/0.3718, allocations: 124.8 kB / 0.6495 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.3719, allocations: 35.53 kB / 0.6495 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/0.3751, allocations: 1.234 MB / 0.6507 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.3752, allocations: 4 kB / 0.6507 GB, free: 7.906 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3752, allocations: 4 kB / 0.6507 GB, free: 7.902 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3752, allocations: 3.984 kB / 0.6507 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.3757, allocations: 497.4 kB / 0.6512 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3757, allocations: 0 / 0.6512 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.3759, allocations: 43.86 kB / 0.6513 GB, free: 7.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.3779, allocations: 0.6075 MB / 0.6518 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.3779, allocations: 8 kB / 0.6519 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/0.3806, allocations: 2.011 MB / 0.6538 GB, free: 4.578 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3806, allocations: 4 kB / 0.6538 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003552/0.3842, allocations: 1.575 MB / 0.6554 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.3843, allocations: 128.5 kB / 0.6555 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.3844, allocations: 8 kB / 0.6555 GB, free: 2.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.3848, allocations: 39.97 kB / 0.6555 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3849, allocations: 43.86 kB / 0.6556 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.385, allocations: 12 kB / 0.6556 GB, free: 2.727 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002541/0.3852, allocations: 260.6 kB / 0.6558 GB, free: 2.473 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004389/0.3857, allocations: 148 kB / 0.656 GB, free: 2.328 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.0001634/0.3859, allocations: 123 kB / 0.6561 GB, free: 2.195 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.3881, allocations: 0.9857 MB / 0.6571 GB, free: 1.148 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3881, allocations: 0 / 0.6571 GB, free: 1.148 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.3896, allocations: 0.7236 MB / 0.6578 GB, free: 380 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.3898, allocations: 29.12 kB / 0.6578 GB, free: 352 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3912, allocations: 0.6297 MB / 0.6584 GB, free: 15.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.3916, allocations: 0.8379 MB / 0.6592 GB, free: 14.83 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3916, allocations: 0 / 0.6592 GB, free: 14.83 MB / 490.7 MB Notification: Performance of Templates: time 0.01031/0.4019, allocations: 6.957 MB / 0.666 GB, free: 7.875 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)