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.009918/0.009918, allocations: 108.4 kB / 15.74 MB, free: 6.449 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.469/1.469, allocations: 222.9 MB / 239.4 MB, free: 4.504 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.001551/0.00155, allocations: 184.5 kB / 289.7 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5391/0.5391, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 77.53 kB / 0.5722 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1426, allocations: 71.28 MB / 0.6418 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005612/0.1482, allocations: 4.39 MB / 0.6461 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.1511, allocations: 1.243 MB / 0.6473 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006686/0.1518, allocations: 4 kB / 0.6473 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.1524, allocations: 142.8 kB / 0.6475 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009855/0.1535, allocations: 230 kB / 0.6477 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.1551, allocations: 0.5853 MB / 0.6483 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1564, allocations: 0.8096 MB / 0.649 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.1568, allocations: 204.6 kB / 0.6492 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.1573, allocations: 330.5 kB / 0.6496 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006644/0.158, allocations: 418 kB / 0.65 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.1583, allocations: 71.92 kB / 0.65 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.1588, allocations: 135.9 kB / 0.6502 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.159, allocations: 163.3 kB / 0.6503 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.1595, allocations: 393.7 kB / 0.6507 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.1607, allocations: 0.9116 MB / 0.6516 GB, free: 10.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1607, allocations: 0 / 0.6516 GB, free: 10.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1607, allocations: 3.938 kB / 0.6516 GB, free: 10.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.93e-05/0.1608, allocations: 0 / 0.6516 GB, free: 10.06 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.004891/0.1657, allocations: 1.572 MB / 0.6531 GB, free: 8.434 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1657, allocations: 12.03 kB / 0.6531 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.166, allocations: 94.7 kB / 0.6532 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.1687, allocations: 430.9 kB / 0.6536 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.1696, allocations: 0.4981 MB / 0.6541 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.1699, allocations: 197.7 kB / 0.6543 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.1701, allocations: 56 kB / 0.6544 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.1717, allocations: 0.6936 MB / 0.655 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1718, allocations: 4 kB / 0.655 GB, free: 6.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.1718, allocations: 20 kB / 0.6551 GB, free: 6.355 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.1719, allocations: 19.94 kB / 0.6551 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.1737, allocations: 0.6805 MB / 0.6557 GB, free: 5.656 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00434/0.1781, allocations: 2.148 MB / 0.6578 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008026/0.1861, allocations: 2.271 MB / 0.6601 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.1873, allocations: 487.1 kB / 0.6605 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.1874, allocations: 12.66 kB / 0.6605 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.1887, allocations: 0.5235 MB / 0.661 GB, free: 24 kB / 462.1 MB Notification: Performance of pre-optimization done (n=75): time 6.171e-06/0.1888, allocations: 0 / 0.661 GB, free: 24 kB / 462.1 MB Notification: Performance of matching and sorting (n=75): time 0.01376/0.2025, allocations: 3.604 MB / 0.6646 GB, free: 12.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.2026, allocations: 60.06 kB / 0.6646 GB, free: 12.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.2033, allocations: 0.5108 MB / 0.6651 GB, free: 11.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.2035, allocations: 53.69 kB / 0.6652 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.2037, allocations: 312.6 kB / 0.6655 GB, free: 11.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.2041, allocations: 260.3 kB / 0.6657 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.2043, allocations: 126.7 kB / 0.6658 GB, free: 10.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2045, allocations: 382.8 kB / 0.6662 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009376/0.2054, allocations: 405.8 kB / 0.6666 GB, free: 10.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.2065, allocations: 0.5068 MB / 0.6671 GB, free: 9.676 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009408/0.2159, allocations: 2.526 MB / 0.6696 GB, free: 7.117 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.216, allocations: 0 / 0.6696 GB, free: 7.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007718/0.2237, allocations: 2.235 MB / 0.6717 GB, free: 4.863 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.2238, allocations: 11.88 kB / 0.6717 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.2238, allocations: 4 kB / 0.6717 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004229/0.228, allocations: 0.9964 MB / 0.6727 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.2286, allocations: 115.8 kB / 0.6728 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.2387, allocations: 4.499 MB / 0.6772 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/0.2396, allocations: 99.31 kB / 0.6773 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.2398, allocations: 31.94 kB / 0.6774 GB, free: 14.97 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.0004969/0.2403, allocations: 207.3 kB / 0.6775 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.2405, allocations: 75.06 kB / 0.6776 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007446/0.248, allocations: 2.173 MB / 0.6797 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.248, allocations: 8 kB / 0.6798 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.248, allocations: 4 kB / 0.6798 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.2481, allocations: 3.984 kB / 0.6798 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008947/0.257, allocations: 3.194 MB / 0.6829 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.2571, allocations: 0 / 0.6829 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.2576, allocations: 80.08 kB / 0.683 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004125/0.2617, allocations: 0.9975 MB / 0.6839 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.2619, allocations: 19.92 kB / 0.6839 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009768/0.2717, allocations: 4.454 MB / 0.6883 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2717, allocations: 3.938 kB / 0.6883 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00879/0.2805, allocations: 2.772 MB / 0.691 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.2808, allocations: 152.1 kB / 0.6912 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.2811, allocations: 20 kB / 0.6912 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/0.2818, allocations: 55.88 kB / 0.6912 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004977/0.2823, allocations: 152.4 kB / 0.6914 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.2824, allocations: 23.98 kB / 0.6914 GB, free: 276 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004573/0.2829, allocations: 354.8 kB / 0.6917 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2829, allocations: 0 / 0.6917 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001011/0.2839, allocations: 267.7 kB / 0.692 GB, free: 15.66 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.008902/0.2928, allocations: 3.32 MB / 0.6952 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004321/0.2972, allocations: 1.601 MB / 0.6968 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.2972, allocations: 0 / 0.6968 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.3003, allocations: 1.115 MB / 0.6979 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.301, allocations: 63.88 kB / 0.6979 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/0.3228, allocations: 8.783 MB / 0.7065 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.3235, allocations: 0.9315 MB / 0.7074 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.3238, allocations: 56.95 kB / 0.7075 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.3242, allocations: 263.3 kB / 0.7077 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of SimCode: time 1.363e-06/0.3242, allocations: 0 / 0.7077 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05338/0.3776, allocations: 21.52 MB / 0.7287 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/13.91, allocations: 4 kB / 0.7288 GB, free: 9.773 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 & /home/hudson/saved_omc/OMSimulator/install/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)