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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00753/0.00753, allocations: 99.34 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.4 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 192.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5201/0.5201, allocations: 91.9 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 82.05 kB / 0.5722 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 71.28 MB / 0.6418 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004774/0.1146, allocations: 4.393 MB / 0.6461 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.1168, allocations: 1.239 MB / 0.6473 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.1171, allocations: 8 kB / 0.6473 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.1175, allocations: 142.8 kB / 0.6475 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.118, allocations: 262 kB / 0.6477 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1193, allocations: 0.5861 MB / 0.6483 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000749/0.1201, allocations: 0.8018 MB / 0.6491 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.1204, allocations: 210 kB / 0.6493 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.1207, allocations: 334.5 kB / 0.6496 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004519/0.1211, allocations: 418 kB / 0.65 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.1212, allocations: 64 kB / 0.6501 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.1215, allocations: 135.9 kB / 0.6502 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1217, allocations: 163.3 kB / 0.6503 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.122, allocations: 393.7 kB / 0.6507 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008975/0.1229, allocations: 0.9218 MB / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1229, allocations: 0 / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1229, allocations: 0 / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1229, allocations: 0 / 0.6516 GB, free: 10.05 MB / 462.1 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.004435/0.1274, allocations: 1.6 MB / 0.6532 GB, free: 8.398 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1274, allocations: 8.031 kB / 0.6532 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.1276, allocations: 98.7 kB / 0.6533 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.1302, allocations: 439.3 kB / 0.6537 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.131, allocations: 0.4948 MB / 0.6542 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.1312, allocations: 201.8 kB / 0.6544 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1314, allocations: 56 kB / 0.6544 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1329, allocations: 0.6935 MB / 0.6551 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1329, allocations: 0 / 0.6551 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.133, allocations: 28 kB / 0.6551 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.133, allocations: 19.94 kB / 0.6552 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.1344, allocations: 0.6766 MB / 0.6558 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.1382, allocations: 2.149 MB / 0.6579 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007856/0.1461, allocations: 2.275 MB / 0.6601 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.1472, allocations: 481.7 kB / 0.6606 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.287e-05/0.1473, allocations: 12.66 kB / 0.6606 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.1485, allocations: 0.5236 MB / 0.6611 GB, free: 15.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 2.825e-06/0.1485, allocations: 4 kB / 0.6611 GB, free: 15.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=75): time 0.01359/0.1621, allocations: 3.601 MB / 0.6646 GB, free: 12.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.1622, allocations: 60.06 kB / 0.6647 GB, free: 12.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.1629, allocations: 0.507 MB / 0.6652 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-05/0.163, allocations: 45.69 kB / 0.6652 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.1632, allocations: 337 kB / 0.6656 GB, free: 11.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.1635, allocations: 265.6 kB / 0.6658 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.1637, allocations: 126.7 kB / 0.6659 GB, free: 10.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1639, allocations: 382.8 kB / 0.6663 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009242/0.1648, allocations: 405.8 kB / 0.6667 GB, free: 10.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000949/0.1658, allocations: 0.5029 MB / 0.6672 GB, free: 9.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009169/0.175, allocations: 2.534 MB / 0.6697 GB, free: 7.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.175, allocations: 4 kB / 0.6697 GB, free: 7.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00768/0.1827, allocations: 2.232 MB / 0.6718 GB, free: 4.797 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.1828, allocations: 11.94 kB / 0.6718 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.1828, allocations: 4 kB / 0.6719 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004208/0.187, allocations: 0.996 MB / 0.6728 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.1876, allocations: 115.8 kB / 0.6729 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.1977, allocations: 4.499 MB / 0.6773 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.1986, allocations: 107.5 kB / 0.6774 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/0.1987, allocations: 27.94 kB / 0.6775 GB, free: 14.9 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y3l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean ultc.y2l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xq:VARIABLE(start = 0.0 fixed = true 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 ($PRE.ultc.zeroCrossing.enable,$PRE.ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.disable,$PRE.ultc.y3l0,$PRE.ultc.y2l0,ultc.zeroCrossing.enable,ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.zeroCrossing.y,$whenCondition2,$whenCondition1,ultc.y3l0,ultc.y2l0,ultc.m,$PRE.ultc.m) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004498/0.1992, allocations: 215.3 kB / 0.6777 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.1994, allocations: 83.48 kB / 0.6777 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007537/0.207, allocations: 2.173 MB / 0.6799 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.207, allocations: 8 kB / 0.6799 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.207, allocations: 0 / 0.6799 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.2071, allocations: 3.984 kB / 0.6799 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008945/0.216, allocations: 3.194 MB / 0.683 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.216, allocations: 4 kB / 0.683 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.2165, allocations: 75.89 kB / 0.6831 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004026/0.2205, allocations: 0.9936 MB / 0.684 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.2207, allocations: 19.98 kB / 0.6841 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009374/0.2301, allocations: 4.463 MB / 0.6884 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2301, allocations: 0 / 0.6884 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008587/0.2387, allocations: 2.773 MB / 0.6911 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.2389, allocations: 152.5 kB / 0.6913 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.2391, allocations: 16 kB / 0.6913 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.2398, allocations: 55.94 kB / 0.6913 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/0.2402, allocations: 148.4 kB / 0.6915 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.2403, allocations: 23.98 kB / 0.6915 GB, free: 200 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.2407, allocations: 362.8 kB / 0.6919 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2407, allocations: 0 / 0.6919 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008927/0.2416, allocations: 271.8 kB / 0.6921 GB, free: 15.58 MB / 0.4981 GB 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) * Number of clocked states: 0 () * 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008862/0.2505, allocations: 3.34 MB / 0.6954 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004235/0.2547, allocations: 1.597 MB / 0.6969 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2548, allocations: 0 / 0.6969 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002939/0.2577, allocations: 1.123 MB / 0.698 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.2583, allocations: 63.88 kB / 0.6981 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/0.2793, allocations: 8.809 MB / 0.7067 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.2799, allocations: 0.9276 MB / 0.7076 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.2801, allocations: 56.94 kB / 0.7077 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.2805, allocations: 263.4 kB / 0.7079 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.2805, allocations: 0 / 0.7079 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/0.3263, allocations: 20.73 MB / 0.7281 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.88, allocations: 2.812 kB / 0.7281 GB, free: 10.43 MB / 0.5294 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC_res.csv --start-time 0 --stop-time 350 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.01 OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)