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.004961/0.004961, allocations: 101 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.388/1.388, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001605/0.001605, allocations: 192.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5154/0.5154, allocations: 91.9 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 87.48 kB / 0.5722 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1149, allocations: 71.29 MB / 0.6418 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005703/0.1206, allocations: 4.378 MB / 0.6461 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.1232, allocations: 1.239 MB / 0.6473 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.1237, allocations: 8 kB / 0.6473 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.1241, allocations: 142.8 kB / 0.6475 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.1247, allocations: 234 kB / 0.6477 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.126, allocations: 0.5789 MB / 0.6483 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007889/0.1268, allocations: 0.8019 MB / 0.649 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.1271, allocations: 210 kB / 0.6492 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.1274, allocations: 334.5 kB / 0.6496 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.128, allocations: 426 kB / 0.65 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.914e-05/0.1281, allocations: 60 kB / 0.65 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.1283, allocations: 128 kB / 0.6502 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1285, allocations: 167.2 kB / 0.6503 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.1288, allocations: 397.7 kB / 0.6507 GB, free: 10.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.1298, allocations: 0.9179 MB / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1298, allocations: 0 / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1298, allocations: 4 kB / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1298, 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.004307/0.1342, allocations: 1.598 MB / 0.6532 GB, free: 8.395 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1342, allocations: 8.031 kB / 0.6532 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.1343, allocations: 106.7 kB / 0.6533 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/0.1369, allocations: 431.3 kB / 0.6537 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/0.1376, allocations: 0.4987 MB / 0.6542 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.1378, allocations: 201.8 kB / 0.6544 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.138, allocations: 56 kB / 0.6544 GB, free: 7.031 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.1394, allocations: 0.6936 MB / 0.6551 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1394, allocations: 3.938 kB / 0.6551 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.1395, allocations: 24 kB / 0.6551 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1395, allocations: 15.94 kB / 0.6551 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.1409, allocations: 0.6805 MB / 0.6558 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/0.1446, allocations: 2.152 MB / 0.6579 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/0.1521, allocations: 2.269 MB / 0.6601 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009278/0.1531, allocations: 483.1 kB / 0.6606 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.505e-05/0.1531, allocations: 8.656 kB / 0.6606 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.1543, allocations: 0.5274 MB / 0.6611 GB, free: 15.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 2.585e-06/0.1543, allocations: 0 / 0.6611 GB, free: 15.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=75): time 0.01316/0.1674, allocations: 3.597 MB / 0.6646 GB, free: 12.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1675, allocations: 64.06 kB / 0.6647 GB, free: 12.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.1681, allocations: 0.5148 MB / 0.6652 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.489e-05/0.1682, allocations: 45.64 kB / 0.6652 GB, free: 11.65 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.1685, allocations: 333 kB / 0.6655 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.1687, allocations: 261.7 kB / 0.6658 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.169, allocations: 126.7 kB / 0.6659 GB, free: 10.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1692, allocations: 382.8 kB / 0.6663 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000893/0.1701, allocations: 409.8 kB / 0.6667 GB, free: 10.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009735/0.1711, allocations: 0.499 MB / 0.6671 GB, free: 9.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009038/0.1801, allocations: 2.533 MB / 0.6696 GB, free: 7.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1801, allocations: 3.938 kB / 0.6696 GB, free: 7.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007311/0.1874, allocations: 2.235 MB / 0.6718 GB, free: 4.793 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.1875, allocations: 13.03 kB / 0.6718 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.1875, allocations: 0 / 0.6718 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.1914, allocations: 1.008 MB / 0.6728 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.192, allocations: 103.8 kB / 0.6729 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009444/0.2015, allocations: 4.512 MB / 0.6773 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.2023, allocations: 103.5 kB / 0.6774 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.2024, allocations: 27.94 kB / 0.6774 GB, free: 14.89 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.0003804/0.2027, allocations: 215.3 kB / 0.6776 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2029, allocations: 83.48 kB / 0.6777 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007082/0.21, allocations: 2.173 MB / 0.6798 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.21, allocations: 8 kB / 0.6798 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.21, allocations: 0 / 0.6798 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.21, allocations: 3.984 kB / 0.6798 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/0.2182, allocations: 3.194 MB / 0.683 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2182, allocations: 0 / 0.683 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.2186, allocations: 79.89 kB / 0.683 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003779/0.2224, allocations: 0.9975 MB / 0.684 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.2225, allocations: 16 kB / 0.684 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009345/0.2319, allocations: 4.456 MB / 0.6884 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2319, allocations: 4 kB / 0.6884 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008366/0.2402, allocations: 2.777 MB / 0.6911 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.2405, allocations: 152.5 kB / 0.6912 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/0.2406, allocations: 16 kB / 0.6913 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.2412, allocations: 51.94 kB / 0.6913 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/0.2416, allocations: 152.4 kB / 0.6915 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.2417, allocations: 27.98 kB / 0.6915 GB, free: 184 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004432/0.2421, allocations: 354.8 kB / 0.6918 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2421, allocations: 0 / 0.6918 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000816/0.2429, allocations: 271.8 kB / 0.6921 GB, free: 15.57 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.008748/0.2517, allocations: 3.333 MB / 0.6953 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00405/0.2558, allocations: 1.605 MB / 0.6969 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2558, allocations: 0 / 0.6969 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002871/0.2587, allocations: 1.119 MB / 0.698 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.2592, allocations: 62.94 kB / 0.6981 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.2799, allocations: 8.805 MB / 0.7067 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.2806, allocations: 0.9276 MB / 0.7076 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.2808, allocations: 60.94 kB / 0.7076 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.2812, allocations: 259.4 kB / 0.7079 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.2812, allocations: 0 / 0.7079 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.3354, allocations: 20.74 MB / 0.7281 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/14.6, allocations: 4.062 kB / 0.7281 GB, free: 10.42 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)