Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.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.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC",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.003619/0.003619, allocations: 184.8 kB / 7.463 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.326/1.326, 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.0009438/0.0009436, allocations: 101.7 kB / 280.1 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4578/0.4578, allocations: 78.91 MB / 409.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1812/0.6391, allocations: 75.65 MB / 485.5 MB, free: 3.422 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/1.054, allocations: 69.5 MB / 0.542 GB, free: 20.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/1.181, allocations: 93.16 MB / 0.6329 GB, free: 10.69 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.182, allocations: 83.94 kB / 0.633 GB, free: 10.61 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.04469/1.226, allocations: 14.95 MB / 0.6476 GB, free: 11.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.226, allocations: 12 kB / 0.6476 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/1.229, allocations: 318.6 kB / 0.6479 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/1.23, allocations: 434.8 kB / 0.6483 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/1.23, allocations: 193.8 kB / 0.6485 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/1.23, allocations: 32 kB / 0.6486 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001546/1.232, allocations: 0.5453 MB / 0.6491 GB, free: 9.902 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/1.233, allocations: 0.5232 MB / 0.6496 GB, free: 9.371 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/1.233, allocations: 0 / 0.6496 GB, free: 9.371 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/1.233, allocations: 11.98 kB / 0.6496 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/1.233, allocations: 12 kB / 0.6496 GB, free: 9.348 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005208/1.238, allocations: 2.258 MB / 0.6518 GB, free: 6.988 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/1.24, allocations: 0.6326 MB / 0.6524 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006698/1.24, allocations: 358.8 kB / 0.6528 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.23e-05/1.24, allocations: 8.656 kB / 0.6528 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007324/1.241, allocations: 423 kB / 0.6532 GB, free: 5.566 MB / 474.7 MB Notification: Performance of pre-optimization done (n=75): time 3.497e-06/1.241, allocations: 0 / 0.6532 GB, free: 5.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.007153/1.248, allocations: 2.18 MB / 0.6553 GB, free: 3.367 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/1.248, allocations: 60.06 kB / 0.6554 GB, free: 3.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/1.249, allocations: 418.5 kB / 0.6558 GB, free: 2.883 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.124e-05/1.249, allocations: 37.64 kB / 0.6558 GB, free: 2.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/1.249, allocations: 240.5 kB / 0.6561 GB, free: 2.602 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/1.25, allocations: 244.4 kB / 0.6563 GB, free: 2.359 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/1.25, allocations: 0 / 0.6563 GB, free: 2.359 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/1.25, allocations: 382.8 kB / 0.6567 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/1.25, allocations: 301.6 kB / 0.6569 GB, free: 1.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/1.251, allocations: 403.5 kB / 0.6573 GB, free: 1.258 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/1.252, allocations: 327.9 kB / 0.6576 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.252, allocations: 4 kB / 0.6576 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007016/1.259, allocations: 2.305 MB / 0.6599 GB, free: 14.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.259, allocations: 4 kB / 0.6599 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.259, allocations: 7.984 kB / 0.6599 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/1.263, allocations: 0.9952 MB / 0.6609 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/1.263, allocations: 115.8 kB / 0.661 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007378/1.271, allocations: 3.374 MB / 0.6643 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.272, allocations: 111.3 kB / 0.6644 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.272, allocations: 31.94 kB / 0.6644 GB, free: 9.855 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y2l0:DISCRETE(fixed = false ) "Loop breaker for when-clauses" type: Boolean ultc.y3l0:DISCRETE(fixed = false ) "Loop breaker for when-clauses" type: Boolean load.xq:VARIABLE(start = 0.0 protected = true ) type: Real load.xp:VARIABLE(start = 0.0 protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$PRE.ultc.y2l0,$PRE.ultc.y3l0,ultc.zeroCrossing.y,$PRE.ultc.zeroCrossing.disable,ultc.zeroCrossing.disable,$PRE.ultc.zeroCrossing.u_pos,ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.enable,ultc.zeroCrossing.enable,$PRE.ultc.m,ultc.m,ultc.y2l0,ultc.y3l0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004069/1.272, allocations: 125.1 kB / 0.6645 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/1.273, allocations: 79.06 kB / 0.6646 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00747/1.28, allocations: 2.255 MB / 0.6668 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/1.28, allocations: 8 kB / 0.6668 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.28, allocations: 3.906 kB / 0.6668 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/1.28, allocations: 4.172 kB / 0.6668 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008946/1.289, allocations: 3.11 MB / 0.6699 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.289, allocations: 3.938 kB / 0.6699 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/1.29, allocations: 87.83 kB / 0.67 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/1.294, allocations: 0.9822 MB / 0.6709 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/1.294, allocations: 0 / 0.6709 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2107/1.504, allocations: 3.363 MB / 0.6742 GB, free: 150.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.505, allocations: 0 / 0.6742 GB, free: 150.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00727/1.512, allocations: 2.762 MB / 0.6769 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007735/1.52, allocations: 3.595 MB / 0.6804 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/1.52, allocations: 152.9 kB / 0.6806 GB, free: 149.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/1.52, allocations: 6.25 kB / 0.6806 GB, free: 149.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/1.521, allocations: 75.38 kB / 0.6806 GB, free: 149.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/1.521, allocations: 101.1 kB / 0.6807 GB, free: 149.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/1.521, allocations: 17.91 kB / 0.6807 GB, free: 149.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004617/1.522, allocations: 318.2 kB / 0.681 GB, free: 149.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00171/1.523, allocations: 244.8 kB / 0.6813 GB, free: 149.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ultc.x1,load.xp,load.xq) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,ultc.m,ultc.y2l0,ultc.y3l0,ultc.zeroCrossing.y,ultc.zeroCrossing.disable,ultc.zeroCrossing.u_pos) * Number of discrete states: 5 (ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.y2l0,ultc.y3l0,ultc.m) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002828/1.524, allocations: 123.2 kB / 0.6814 GB, free: 149.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003215/1.527, allocations: 1.43 MB / 0.6828 GB, free: 148.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.527, allocations: 3.609 kB / 0.6828 GB, free: 148.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/1.53, allocations: 1.067 MB / 0.6838 GB, free: 148.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/1.53, allocations: 27.28 kB / 0.6839 GB, free: 148.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/1.533, allocations: 0.9395 MB / 0.6848 GB, free: 148.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/1.533, allocations: 0.9815 MB / 0.6857 GB, free: 147.4 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/1.533, allocations: 0 / 0.6857 GB, free: 147.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=0.0001 OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)