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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.004024/0.004024, allocations: 182.9 kB / 7.461 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.348/1.348, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.0009337/0.0009339, allocations: 103.1 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.5157/0.5157, allocations: 78.06 MB / 409 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1761/0.6918, allocations: 75.48 MB / 484.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/1.127, allocations: 69.34 MB / 0.5408 GB, free: 21.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/1.259, allocations: 90.72 MB / 0.6294 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.259, allocations: 79.94 kB / 0.6295 GB, free: 14.01 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.02478/1.284, allocations: 8.378 MB / 0.6377 GB, free: 5.531 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.284, allocations: 8 kB / 0.6377 GB, free: 5.523 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/1.286, allocations: 187.3 kB / 0.6378 GB, free: 5.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/1.287, allocations: 326.8 kB / 0.6382 GB, free: 4.984 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.287, allocations: 79.89 kB / 0.6382 GB, free: 4.895 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/1.287, allocations: 16 kB / 0.6382 GB, free: 4.879 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008133/1.288, allocations: 292.9 kB / 0.6385 GB, free: 4.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/1.289, allocations: 279.1 kB / 0.6388 GB, free: 4.312 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.289, allocations: 0 / 0.6388 GB, free: 4.312 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/1.289, allocations: 0 / 0.6388 GB, free: 4.312 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/1.289, allocations: 11.91 kB / 0.6388 GB, free: 4.301 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/1.291, allocations: 1.005 MB / 0.6398 GB, free: 3.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/1.291, allocations: 193.6 kB / 0.64 GB, free: 3.051 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/1.291, allocations: 196.8 kB / 0.6402 GB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/1.291, allocations: 4 kB / 0.6402 GB, free: 2.852 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.291, allocations: 34.56 kB / 0.6402 GB, free: 2.809 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.372e-06/1.291, allocations: 0 / 0.6402 GB, free: 2.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.003791/1.295, allocations: 1.218 MB / 0.6414 GB, free: 1.574 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.295, allocations: 55.41 kB / 0.6414 GB, free: 1.508 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/1.296, allocations: 263.6 kB / 0.6417 GB, free: 1.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/1.296, allocations: 25.7 kB / 0.6417 GB, free: 1.211 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.296, allocations: 144.4 kB / 0.6418 GB, free: 1.066 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/1.296, allocations: 102.4 kB / 0.6419 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/1.296, allocations: 0 / 0.6419 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/1.296, allocations: 346.8 kB / 0.6423 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/1.296, allocations: 160.6 kB / 0.6424 GB, free: 468 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/1.297, allocations: 156.8 kB / 0.6426 GB, free: 312 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/1.297, allocations: 169.9 kB / 0.6427 GB, free: 144 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.297, allocations: 0 / 0.6427 GB, free: 144 kB / 458.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004332/1.301, allocations: 1.297 MB / 0.644 GB, free: 14.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.301, allocations: 4 kB / 0.644 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.302, allocations: 3.938 kB / 0.644 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/1.305, allocations: 0.7589 MB / 0.6448 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/1.305, allocations: 31.98 kB / 0.6448 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/1.309, allocations: 2.455 MB / 0.6472 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000625/1.31, allocations: 63.7 kB / 0.6472 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/1.31, allocations: 4 kB / 0.6472 GB, free: 11.39 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.0001671/1.31, allocations: 113 kB / 0.6474 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/1.31, allocations: 35.53 kB / 0.6474 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/1.314, allocations: 1.238 MB / 0.6486 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.314, allocations: 4 kB / 0.6486 GB, free: 9.977 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.314, allocations: 4 kB / 0.6486 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/1.314, allocations: 8.109 kB / 0.6486 GB, free: 9.965 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/1.315, allocations: 481.5 kB / 0.6491 GB, free: 9.457 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.315, allocations: 0 / 0.6491 GB, free: 9.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/1.315, allocations: 31.92 kB / 0.6491 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/1.318, allocations: 0.6699 MB / 0.6498 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/1.318, allocations: 0 / 0.6498 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/1.321, allocations: 2.092 MB / 0.6518 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.321, allocations: 0 / 0.6518 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004234/1.326, allocations: 1.572 MB / 0.6533 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004693/1.33, allocations: 2.197 MB / 0.6555 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/1.331, allocations: 124.6 kB / 0.6556 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/1.331, allocations: 0 / 0.6556 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/1.331, allocations: 44.03 kB / 0.6556 GB, free: 2.527 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.331, allocations: 39.86 kB / 0.6557 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/1.331, allocations: 16 kB / 0.6557 GB, free: 2.473 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002631/1.332, allocations: 211 kB / 0.6559 GB, free: 2.266 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001205/1.333, allocations: 143.8 kB / 0.656 GB, free: 2.125 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.0002427/1.333, allocations: 115 kB / 0.6561 GB, free: 2.004 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/1.335, allocations: 0.9001 MB / 0.657 GB, free: 1.051 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.335, allocations: 4 kB / 0.657 GB, free: 1.047 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/1.337, allocations: 0.7003 MB / 0.6577 GB, free: 300 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/1.337, allocations: 26.95 kB / 0.6577 GB, free: 272 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006845/1.344, allocations: 0.8892 MB / 0.6586 GB, free: 15.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/1.345, allocations: 0.8176 MB / 0.6594 GB, free: 14.5 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/1.345, allocations: 0 / 0.6594 GB, free: 14.5 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)