Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestLeadLag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestLeadLag",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005138/0.005138, allocations: 170.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008345/0.0008346, allocations: 90.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05311/0.05311, allocations: 14.19 MB / 332 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 8.25 kB / 395.7 MB, free: 50.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1013, allocations: 51.13 MB / 446.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.2073, allocations: 77.77 MB / 0.5123 GB, free: 6.828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.2075, allocations: 75.95 kB / 0.5124 GB, free: 6.754 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006059/0.2136, allocations: 2.261 MB / 0.5146 GB, free: 4.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2136, allocations: 0 / 0.5146 GB, free: 4.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2136, allocations: 4 kB / 0.5146 GB, free: 4.465 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004812/0.2141, allocations: 414.9 kB / 0.515 GB, free: 4.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2142, allocations: 16.02 kB / 0.515 GB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.2142, allocations: 42.5 kB / 0.5151 GB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.2143, allocations: 15.81 kB / 0.5151 GB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.2146, allocations: 235.4 kB / 0.5153 GB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2146, allocations: 15.95 kB / 0.5153 GB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.2147, allocations: 8 kB / 0.5153 GB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.2149, allocations: 120.2 kB / 0.5154 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2149, allocations: 0 / 0.5154 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.2149, allocations: 4 kB / 0.5154 GB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.215, allocations: 4 kB / 0.5155 GB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.2152, allocations: 71.75 kB / 0.5155 GB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007586/0.2159, allocations: 0.6013 MB / 0.5161 GB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.2163, allocations: 125.9 kB / 0.5162 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2164, allocations: 0 / 0.5162 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2164, allocations: 38.56 kB / 0.5163 GB, free: 2.562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2164, allocations: 0 / 0.5163 GB, free: 2.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004245/0.2168, allocations: 125.7 kB / 0.5164 GB, free: 2.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.2169, allocations: 103.1 kB / 0.5165 GB, free: 2.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2171, allocations: 146.1 kB / 0.5166 GB, free: 2.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2171, allocations: 25.7 kB / 0.5166 GB, free: 2.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.2172, allocations: 116.3 kB / 0.5168 GB, free: 2.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.2172, allocations: 23.66 kB / 0.5168 GB, free: 1.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.2172, allocations: 0 / 0.5168 GB, free: 1.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2174, allocations: 322.8 kB / 0.5171 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.2175, allocations: 27.92 kB / 0.5171 GB, free: 1.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2176, allocations: 69.06 kB / 0.5172 GB, free: 1.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.047e-05/0.2177, allocations: 28 kB / 0.5172 GB, free: 1.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2177, allocations: 32 / 0.5172 GB, free: 1.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003542/0.2181, allocations: 150.2 kB / 0.5173 GB, free: 1.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2181, allocations: 4 kB / 0.5174 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2181, allocations: 4 kB / 0.5174 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.2184, allocations: 40.91 kB / 0.5174 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.2185, allocations: 12 kB / 0.5174 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1988/0.4172, allocations: 1.36 MB / 0.5187 GB, free: 81.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.4174, allocations: 17.19 kB / 0.5188 GB, free: 81.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.4174, allocations: 4.031 kB / 0.5188 GB, free: 81.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.4176, allocations: 121.7 kB / 0.5189 GB, free: 81.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.4176, allocations: 9.484 kB / 0.5189 GB, free: 81.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.4177, allocations: 15.92 kB / 0.5189 GB, free: 81.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4177, allocations: 5.781 kB / 0.5189 GB, free: 81.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.4177, allocations: 2.375 kB / 0.5189 GB, free: 81.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4177, allocations: 2.969 kB / 0.5189 GB, free: 81.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.4181, allocations: 207.8 kB / 0.5191 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4181, allocations: 3.656 kB / 0.5191 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.4182, allocations: 21.55 kB / 0.5191 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4182, allocations: 0 / 0.5191 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4183, allocations: 5.531 kB / 0.5191 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4183, allocations: 1.75 kB / 0.5191 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4183, allocations: 1.906 kB / 0.5191 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.4187, allocations: 402.4 kB / 0.5195 GB, free: 81.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.4187, allocations: 96.86 kB / 0.5196 GB, free: 81.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4187, allocations: 3.875 kB / 0.5196 GB, free: 81.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4189, allocations: 6.609 kB / 0.5196 GB, free: 81.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.419, allocations: 9.125 kB / 0.5196 GB, free: 81.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.419, allocations: 3.75 kB / 0.5196 GB, free: 81.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.286e-05/0.4191, allocations: 118.1 kB / 0.5197 GB, free: 81.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4191, allocations: 1.781 kB / 0.5198 GB, free: 81.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.4194, allocations: 30.14 kB / 0.5198 GB, free: 81.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005877/0.42, allocations: 1.067 MB / 0.5208 GB, free: 80.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.4205, allocations: 202.3 kB / 0.521 GB, free: 80.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4205, allocations: 3.156 kB / 0.521 GB, free: 80.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.4206, allocations: 36.31 kB / 0.5211 GB, free: 80.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.4209, allocations: 25.2 kB / 0.5211 GB, free: 80.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.4224, allocations: 1.225 MB / 0.5223 GB, free: 79.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.4226, allocations: 0.7075 MB / 0.523 GB, free: 78.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.4226, allocations: 11.73 kB / 0.523 GB, free: 78.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.4227, allocations: 35.53 kB / 0.523 GB, free: 78.51 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4227, allocations: 0 / 0.523 GB, free: 78.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.4363, allocations: 2.419 MB / 0.5254 GB, free: 78.27 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.4365, allocations: 185.7 kB / 0.5255 GB, free: 78.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.935, allocations: 4 kB / 0.5256 GB, free: 78.03 MB / 362.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestLeadLag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestLeadLag.fmu > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1)