Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.002505/0.002505, allocations: 186.5 kB / 7.46 MB, free: 2.516 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.368/1.368, allocations: 221.4 MB / 229.3 MB, free: 3.234 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.001098/0.001098, allocations: 98.92 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4565/0.4565, allocations: 78.93 MB / 409.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.585e-06, allocations: 0 / 485.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 69.51 MB / 0.5419 GB, free: 20.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.4511, allocations: 91.3 MB / 0.631 GB, free: 12.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4514, allocations: 75.95 kB / 0.6311 GB, free: 12.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02154/0.473, allocations: 7.688 MB / 0.6386 GB, free: 4.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.473, allocations: 4 kB / 0.6386 GB, free: 4.836 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.001998/0.475, allocations: 0.7942 MB / 0.6394 GB, free: 3.996 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4751, allocations: 8.031 kB / 0.6394 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.4763, allocations: 183.8 kB / 0.6396 GB, free: 3.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.4768, allocations: 334.8 kB / 0.6399 GB, free: 3.445 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.477, allocations: 75.89 kB / 0.64 GB, free: 3.359 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.477, allocations: 16 kB / 0.64 GB, free: 3.344 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005772/0.4776, allocations: 293 kB / 0.6402 GB, free: 3.055 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.4781, allocations: 275 kB / 0.6405 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4782, allocations: 0 / 0.6405 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.4782, allocations: 0 / 0.6405 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.4782, allocations: 11.91 kB / 0.6405 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.4803, allocations: 1.005 MB / 0.6415 GB, free: 1.723 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.4807, allocations: 185.7 kB / 0.6417 GB, free: 1.535 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.481, allocations: 196.8 kB / 0.6419 GB, free: 1.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.4811, allocations: 4 kB / 0.6419 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.4811, allocations: 42.55 kB / 0.6419 GB, free: 1.285 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.452e-06/0.4811, allocations: 0 / 0.6419 GB, free: 1.285 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.003846/0.485, allocations: 1.21 MB / 0.6431 GB, free: 60 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.4851, allocations: 55.41 kB / 0.6431 GB, free: 15.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.4854, allocations: 263.6 kB / 0.6434 GB, free: 15.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.4854, allocations: 25.7 kB / 0.6434 GB, free: 15.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.4855, allocations: 148.3 kB / 0.6436 GB, free: 15.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4856, allocations: 102.4 kB / 0.6437 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.4857, allocations: 0 / 0.6437 GB, free: 15.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4858, allocations: 346.8 kB / 0.644 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.4861, allocations: 156.6 kB / 0.6441 GB, free: 14.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.4864, allocations: 156.8 kB / 0.6443 GB, free: 14.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.4867, allocations: 173.9 kB / 0.6445 GB, free: 14.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4867, allocations: 0 / 0.6445 GB, free: 14.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004146/0.4909, allocations: 1.297 MB / 0.6457 GB, free: 13.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4909, allocations: 4 kB / 0.6457 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4909, allocations: 0 / 0.6457 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003151/0.4941, allocations: 0.7635 MB / 0.6465 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.4943, allocations: 31.98 kB / 0.6465 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004627/0.499, allocations: 2.47 MB / 0.6489 GB, free: 9.922 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.4996, allocations: 59.7 kB / 0.649 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.4997, allocations: 4 kB / 0.649 GB, free: 9.859 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.0001832/0.4999, allocations: 112.8 kB / 0.6491 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.5001, allocations: 35.53 kB / 0.6491 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/0.5042, allocations: 1.245 MB / 0.6503 GB, free: 8.438 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.5043, allocations: 4 kB / 0.6503 GB, free: 8.434 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.5043, allocations: 8 kB / 0.6503 GB, free: 8.426 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5043, allocations: 0 / 0.6503 GB, free: 8.426 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008077/0.5051, allocations: 477.5 kB / 0.6508 GB, free: 7.922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5051, allocations: 0 / 0.6508 GB, free: 7.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.5054, allocations: 27.98 kB / 0.6508 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.5079, allocations: 0.6738 MB / 0.6515 GB, free: 7.211 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.508, allocations: 4 kB / 0.6515 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.5115, allocations: 2.092 MB / 0.6535 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5115, allocations: 0 / 0.6535 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004428/0.5159, allocations: 1.572 MB / 0.6551 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.5161, allocations: 112.8 kB / 0.6552 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.5162, allocations: 16.05 kB / 0.6552 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.5167, allocations: 39.97 kB / 0.6552 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5169, allocations: 39.92 kB / 0.6553 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.5169, allocations: 7.906 kB / 0.6553 GB, free: 3.172 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002624/0.5172, allocations: 215.1 kB / 0.6555 GB, free: 2.961 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005811/0.5178, allocations: 139.8 kB / 0.6556 GB, free: 2.824 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.0002195/0.518, allocations: 117.9 kB / 0.6557 GB, free: 2.703 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.5202, allocations: 0.8999 MB / 0.6566 GB, free: 1.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5202, allocations: 0 / 0.6566 GB, free: 1.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.5218, allocations: 0.712 MB / 0.6573 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.5221, allocations: 21.09 kB / 0.6573 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006596/0.5287, allocations: 0.8807 MB / 0.6582 GB, free: 52 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.5292, allocations: 0.8177 MB / 0.659 GB, free: 15.2 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5292, allocations: 0 / 0.659 GB, free: 15.2 MB / 490.7 MB Notification: Performance of Templates: time 0.01173/0.541, allocations: 6.713 MB / 0.6655 GB, free: 8.492 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)