Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) [: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.003272/0.003272, allocations: 185.7 kB / 7.464 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.263/1.263, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001178/0.001178, allocations: 104.4 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.498/0.498, allocations: 78.93 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1919/0.69, allocations: 75.64 MB / 485.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/1.104, allocations: 69.5 MB / 0.542 GB, free: 20.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/1.24, allocations: 91.86 MB / 0.6317 GB, free: 12.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.241, allocations: 75.95 kB / 0.6317 GB, free: 12.02 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.02755/1.268, allocations: 9.666 MB / 0.6412 GB, free: 2.246 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.268, allocations: 8 kB / 0.6412 GB, free: 2.238 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/1.269, allocations: 199.2 kB / 0.6414 GB, free: 2.039 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/1.27, allocations: 375.7 kB / 0.6417 GB, free: 1.629 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/1.27, allocations: 84.05 kB / 0.6418 GB, free: 1.535 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/1.271, allocations: 23.91 kB / 0.6418 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006455/1.271, allocations: 313.3 kB / 0.6421 GB, free: 1.207 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/1.272, allocations: 300.7 kB / 0.6424 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/1.272, allocations: 0 / 0.6424 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/1.272, allocations: 0 / 0.6424 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.272, allocations: 8 kB / 0.6424 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/1.274, allocations: 1.08 MB / 0.6435 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/1.275, allocations: 328.8 kB / 0.6438 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/1.275, allocations: 204.9 kB / 0.644 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.259e-05/1.275, allocations: 4 kB / 0.644 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.275, allocations: 38.56 kB / 0.644 GB, free: 15.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/1.275, allocations: 4 kB / 0.644 GB, free: 15.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.003537/1.279, allocations: 1.202 MB / 0.6452 GB, free: 13.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/1.279, allocations: 59.41 kB / 0.6453 GB, free: 13.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/1.279, allocations: 334.1 kB / 0.6456 GB, free: 13.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/1.279, allocations: 25.7 kB / 0.6456 GB, free: 13.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/1.279, allocations: 156.5 kB / 0.6457 GB, free: 13.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.279, allocations: 114.2 kB / 0.6459 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/1.279, allocations: 0 / 0.6459 GB, free: 13.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/1.28, allocations: 358.7 kB / 0.6462 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/1.28, allocations: 164.7 kB / 0.6464 GB, free: 12.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/1.28, allocations: 173 kB / 0.6465 GB, free: 12.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/1.28, allocations: 174.2 kB / 0.6467 GB, free: 12.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.281, allocations: 0 / 0.6467 GB, free: 12.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003871/1.284, allocations: 1.319 MB / 0.648 GB, free: 11.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.284, allocations: 11.84 kB / 0.648 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.284, allocations: 0 / 0.648 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/1.287, allocations: 0.7518 MB / 0.6487 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.288, allocations: 39.98 kB / 0.6488 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004587/1.292, allocations: 2.498 MB / 0.6512 GB, free: 7.652 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/1.293, allocations: 55.8 kB / 0.6513 GB, free: 7.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/1.293, allocations: 12 kB / 0.6513 GB, free: 7.586 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.0001601/1.293, allocations: 116.6 kB / 0.6514 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.293, allocations: 39.53 kB / 0.6514 GB, free: 7.426 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/1.297, allocations: 1.234 MB / 0.6526 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/1.297, allocations: 4 kB / 0.6526 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.297, allocations: 7.938 kB / 0.6526 GB, free: 6.164 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.297, allocations: 0 / 0.6526 GB, free: 6.164 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/1.297, allocations: 493.4 kB / 0.6531 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.297, allocations: 4 kB / 0.6531 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/1.298, allocations: 39.92 kB / 0.6531 GB, free: 5.602 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00214/1.3, allocations: 0.6231 MB / 0.6538 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/1.3, allocations: 0 / 0.6538 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003316/1.303, allocations: 2.015 MB / 0.6557 GB, free: 2.836 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.303, allocations: 4 kB / 0.6557 GB, free: 2.832 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003953/1.307, allocations: 1.559 MB / 0.6572 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004501/1.312, allocations: 2.216 MB / 0.6594 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/1.312, allocations: 124.6 kB / 0.6595 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.312, allocations: 0 / 0.6595 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/1.313, allocations: 51.95 kB / 0.6596 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.313, allocations: 39.92 kB / 0.6596 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/1.313, allocations: 8 kB / 0.6596 GB, free: 14.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004025/1.313, allocations: 264.6 kB / 0.6599 GB, free: 14.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001257/1.315, allocations: 147.9 kB / 0.66 GB, free: 14.36 MB / 490.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.0002438/1.315, allocations: 127.2 kB / 0.6601 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002772/1.318, allocations: 0.9941 MB / 0.6611 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.318, allocations: 0 / 0.6611 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/1.319, allocations: 0.7237 MB / 0.6618 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/1.32, allocations: 21.28 kB / 0.6618 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/1.322, allocations: 0.6451 MB / 0.6625 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/1.322, allocations: 0.8457 MB / 0.6633 GB, free: 10.84 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/1.322, allocations: 7.938 kB / 0.6633 GB, free: 10.83 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)