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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.344/1.344, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0009378/0.0009378, allocations: 83.25 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.46/0.46, allocations: 78.95 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.858e-05, allocations: 0 / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 69.52 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5441, allocations: 93.22 MB / 0.6336 GB, free: 4.766 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5444, allocations: 83.92 kB / 0.6336 GB, free: 4.688 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03784/0.5823, allocations: 14.05 MB / 0.6474 GB, free: 6.715 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5823, allocations: 4 kB / 0.6474 GB, free: 6.711 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.228e-05/0.5824, allocations: 12 kB / 0.6474 GB, free: 6.699 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.003244/0.5856, allocations: 1.139 MB / 0.6485 GB, free: 5.516 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5857, allocations: 8.031 kB / 0.6485 GB, free: 5.508 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.5874, allocations: 303.3 kB / 0.6488 GB, free: 5.211 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.5881, allocations: 446.8 kB / 0.6492 GB, free: 4.734 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.5884, allocations: 185.8 kB / 0.6494 GB, free: 4.523 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.5885, allocations: 32 kB / 0.6494 GB, free: 4.492 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/0.5896, allocations: 0.538 MB / 0.6499 GB, free: 3.953 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.5906, allocations: 0.5237 MB / 0.6505 GB, free: 3.422 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5907, allocations: 0 / 0.6505 GB, free: 3.422 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.5907, allocations: 13.45 kB / 0.6505 GB, free: 3.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.5907, allocations: 12 kB / 0.6505 GB, free: 3.398 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004027/0.5948, allocations: 2.088 MB / 0.6525 GB, free: 1.246 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008018/0.6028, allocations: 2.549 MB / 0.655 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.6035, allocations: 368.8 kB / 0.6554 GB, free: 14.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.213e-05/0.6036, allocations: 8.781 kB / 0.6554 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008129/0.6044, allocations: 416.5 kB / 0.6558 GB, free: 13.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=75): time 4.469e-06/0.6044, allocations: 0 / 0.6558 GB, free: 13.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.006725/0.6112, allocations: 2.07 MB / 0.6578 GB, free: 11.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.6113, allocations: 64.17 kB / 0.6579 GB, free: 11.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/0.6119, allocations: 410.5 kB / 0.6582 GB, free: 11.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/0.612, allocations: 34.45 kB / 0.6583 GB, free: 11.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.6123, allocations: 324.6 kB / 0.6586 GB, free: 10.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.6126, allocations: 248.4 kB / 0.6588 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.6126, allocations: 0 / 0.6588 GB, free: 10.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.6128, allocations: 382.8 kB / 0.6592 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.6133, allocations: 293.6 kB / 0.6595 GB, free: 9.945 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.6138, allocations: 395.6 kB / 0.6598 GB, free: 9.531 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.6144, allocations: 324 kB / 0.6602 GB, free: 9.219 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.6144, allocations: 4 kB / 0.6602 GB, free: 9.215 MB / 474.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006507/0.6209, allocations: 2.188 MB / 0.6623 GB, free: 7.008 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.621, allocations: 12 kB / 0.6623 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.621, allocations: 0 / 0.6623 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003711/0.6247, allocations: 0.9551 MB / 0.6632 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.6254, allocations: 111.8 kB / 0.6633 GB, free: 5.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.6322, allocations: 3.581 MB / 0.6668 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/0.6331, allocations: 103.4 kB / 0.6669 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.6332, allocations: 27.95 kB / 0.667 GB, free: 2.102 MB / 474.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.0003298/0.6336, allocations: 129.1 kB / 0.6671 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006318/0.6399, allocations: 2.071 MB / 0.6691 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.6401, allocations: 83.02 kB / 0.6692 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006439/0.6466, allocations: 2.142 MB / 0.6713 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6466, allocations: 8 kB / 0.6713 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6466, allocations: 0 / 0.6713 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.6467, allocations: 3.984 kB / 0.6713 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007583/0.6542, allocations: 3.085 MB / 0.6743 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.6543, allocations: 4 kB / 0.6743 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.6548, allocations: 75.89 kB / 0.6744 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/0.6583, allocations: 0.9503 MB / 0.6753 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/0.6584, allocations: 2.938 kB / 0.6753 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006595/0.665, allocations: 3.574 MB / 0.6788 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.665, allocations: 0 / 0.6788 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007223/0.6722, allocations: 2.631 MB / 0.6814 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.6726, allocations: 152.1 kB / 0.6815 GB, free: 2.902 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.6728, allocations: 7.984 kB / 0.6815 GB, free: 2.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.6735, allocations: 67.94 kB / 0.6816 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004442/0.6739, allocations: 156.5 kB / 0.6817 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/0.674, allocations: 16 kB / 0.6818 GB, free: 2.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004008/0.6744, allocations: 315.8 kB / 0.6821 GB, free: 2.355 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6744, allocations: 0 / 0.6821 GB, free: 2.355 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009467/0.6754, allocations: 247.7 kB / 0.6823 GB, free: 2.113 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.007281/0.6827, allocations: 3.216 MB / 0.6854 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003408/0.6861, allocations: 1.428 MB / 0.6868 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6861, allocations: 3.938 kB / 0.6868 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/0.6888, allocations: 1.057 MB / 0.6879 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.6894, allocations: 35.3 kB / 0.6879 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.692, allocations: 0.9843 MB / 0.6889 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.6927, allocations: 0.9468 MB / 0.6898 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002779/0.6929, allocations: 44.45 kB / 0.6898 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.6933, allocations: 255.3 kB / 0.6901 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.6933, allocations: 0 / 0.6901 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.733, allocations: 17.19 MB / 0.7069 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.7332, allocations: 122.2 kB / 0.707 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.108, allocations: 4 kB / 0.707 GB, free: 8.711 MB / 0.5105 GB (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)