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.00685/0.00685, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 239 MB, free: 48 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009195/0.0009193, allocations: 96.88 kB / 290.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5166/0.5166, allocations: 79.45 MB / 420.8 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.00042, allocations: 12 kB / 0.4891 GB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1564, allocations: 69.51 MB / 0.557 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5821, allocations: 93.97 MB / 0.6488 GB, free: 7.188 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.5824, allocations: 83.42 kB / 0.6489 GB, free: 7.109 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0354/0.6178, allocations: 14.28 MB / 0.6628 GB, free: 8.918 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.6178, allocations: 0 / 0.6628 GB, free: 8.918 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.174e-05/0.6179, allocations: 17.53 kB / 0.6628 GB, free: 8.902 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.003623/0.6215, allocations: 1.228 MB / 0.664 GB, free: 7.625 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6216, allocations: 15.97 kB / 0.664 GB, free: 7.609 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000266/0.6219, allocations: 98.5 kB / 0.6641 GB, free: 7.504 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.6238, allocations: 310.6 kB / 0.6644 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/0.6247, allocations: 438.8 kB / 0.6648 GB, free: 6.727 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.625, allocations: 213.8 kB / 0.665 GB, free: 6.488 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.6252, allocations: 52.34 kB / 0.6651 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.6268, allocations: 0.7365 MB / 0.6658 GB, free: 5.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6268, allocations: 0 / 0.6658 GB, free: 5.695 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.6269, allocations: 20 kB / 0.6658 GB, free: 5.676 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.6269, allocations: 19.98 kB / 0.6658 GB, free: 5.656 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.6285, allocations: 0.7195 MB / 0.6665 GB, free: 4.934 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/0.6327, allocations: 2.197 MB / 0.6687 GB, free: 2.664 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008259/0.641, allocations: 2.742 MB / 0.6714 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.6411, allocations: 8.656 kB / 0.6714 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.6425, allocations: 0.5704 MB / 0.6719 GB, free: 15.22 MB / 474.7 MB Notification: Performance of pre-optimization done (n=75): time 3.376e-06/0.6425, allocations: 0 / 0.6719 GB, free: 15.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.01368/0.6562, allocations: 4.298 MB / 0.6761 GB, free: 10.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.6563, allocations: 60.06 kB / 0.6762 GB, free: 10.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.657, allocations: 450.3 kB / 0.6766 GB, free: 10.33 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.6572, allocations: 45.69 kB / 0.6767 GB, free: 10.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.6574, allocations: 324.6 kB / 0.677 GB, free: 9.957 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.6578, allocations: 244.5 kB / 0.6772 GB, free: 9.715 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.6578, allocations: 12 kB / 0.6772 GB, free: 9.703 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.6581, allocations: 390.7 kB / 0.6776 GB, free: 9.312 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.6591, allocations: 453.7 kB / 0.678 GB, free: 8.871 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.6602, allocations: 0.5303 MB / 0.6785 GB, free: 8.309 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6613, allocations: 476.3 kB / 0.679 GB, free: 7.844 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.6613, allocations: 0 / 0.679 GB, free: 7.844 MB / 474.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007689/0.669, allocations: 2.638 MB / 0.6816 GB, free: 5.188 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.669, allocations: 8 kB / 0.6816 GB, free: 5.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.6691, allocations: 0 / 0.6816 GB, free: 5.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/0.6732, allocations: 1.19 MB / 0.6827 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.6738, allocations: 121.6 kB / 0.6829 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009951/0.6838, allocations: 4.67 MB / 0.6874 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.6849, allocations: 123.3 kB / 0.6875 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.6851, allocations: 28 kB / 0.6876 GB, free: 14.93 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y2l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean ultc.y3l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xp: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 ($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 () * 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 (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.0005824/0.6857, allocations: 198.2 kB / 0.6878 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.6859, allocations: 81.36 kB / 0.6878 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007617/0.6936, allocations: 2.584 MB / 0.6904 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.6936, allocations: 8 kB / 0.6904 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6936, allocations: 4 kB / 0.6904 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.6937, allocations: 7.984 kB / 0.6904 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008997/0.7027, allocations: 3.579 MB / 0.6939 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.7027, allocations: 0 / 0.6939 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.7032, allocations: 91.78 kB / 0.694 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004003/0.7072, allocations: 1.177 MB / 0.6951 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.764e-05/0.7073, allocations: 15.98 kB / 0.6951 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00941/0.7167, allocations: 4.626 MB / 0.6996 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7168, allocations: 0 / 0.6996 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008847/0.7256, allocations: 3.209 MB / 0.7028 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.726, allocations: 152.1 kB / 0.7029 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.7262, allocations: 16 kB / 0.7029 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/0.7269, allocations: 75.94 kB / 0.703 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000454/0.7274, allocations: 152.4 kB / 0.7031 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/0.7275, allocations: 24 kB / 0.7032 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005126/0.728, allocations: 348.3 kB / 0.7035 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.728, allocations: 0 / 0.7035 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001158/0.7292, allocations: 283.7 kB / 0.7038 GB, free: 14.02 MB / 0.4948 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 (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.009156/0.7383, allocations: 3.778 MB / 0.7075 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00444/0.7428, allocations: 1.761 MB / 0.7092 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.7428, allocations: 0 / 0.7092 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003047/0.7459, allocations: 1.231 MB / 0.7104 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.7465, allocations: 44.58 kB / 0.7104 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.7612, allocations: 7.609 MB / 0.7179 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.7618, allocations: 0.9505 MB / 0.7188 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002914/0.7621, allocations: 44.45 kB / 0.7188 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.7625, allocations: 255.3 kB / 0.7191 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.7625, allocations: 3.938 kB / 0.7191 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/0.8037, allocations: 18.11 MB / 0.7368 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.8039, allocations: 198.8 kB / 0.7369 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.484, allocations: 0 / 0.7369 GB, free: 11.98 MB / 0.5261 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)