Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.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.TestDerivativeLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDerivativeLag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDerivativeLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDerivativeLag",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.005625/0.005625, allocations: 172 kB / 15.11 MB, free: 5.973 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.443/1.443, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008303/0.0008303, allocations: 94.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05257/0.05257, allocations: 14.19 MB / 332.1 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8.156 kB / 395.7 MB, free: 50 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 51.11 MB / 446.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.2073, allocations: 77.96 MB / 0.5125 GB, free: 6.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.2075, allocations: 71.95 kB / 0.5126 GB, free: 6.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006081/0.2136, allocations: 2.223 MB / 0.5148 GB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2136, allocations: 0 / 0.5148 GB, free: 4.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.2137, allocations: 0 / 0.5148 GB, free: 4.32 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004788/0.2142, allocations: 419 kB / 0.5152 GB, free: 3.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2142, allocations: 20.02 kB / 0.5152 GB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.2143, allocations: 34.56 kB / 0.5152 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.2143, allocations: 15.81 kB / 0.5152 GB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2147, allocations: 238.9 kB / 0.5155 GB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2147, allocations: 8.188 kB / 0.5155 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.2147, allocations: 7.906 kB / 0.5155 GB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.215, allocations: 139.2 kB / 0.5156 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.215, allocations: 0 / 0.5156 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.215, allocations: 7.938 kB / 0.5156 GB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.215, allocations: 4 kB / 0.5156 GB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.2152, allocations: 67.89 kB / 0.5157 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.216, allocations: 0.754 MB / 0.5164 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.2162, allocations: 93.8 kB / 0.5165 GB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2162, allocations: 7.953 kB / 0.5165 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2163, allocations: 34.5 kB / 0.5165 GB, free: 2.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2163, allocations: 0 / 0.5165 GB, free: 2.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003847/0.2167, allocations: 109.9 kB / 0.5166 GB, free: 2.152 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.2167, allocations: 114.8 kB / 0.5168 GB, free: 2.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2169, allocations: 136.5 kB / 0.5169 GB, free: 1.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2169, allocations: 25.7 kB / 0.5169 GB, free: 1.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.217, allocations: 116.3 kB / 0.517 GB, free: 1.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.217, allocations: 27.64 kB / 0.517 GB, free: 1.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.217, allocations: 0 / 0.517 GB, free: 1.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2171, allocations: 322.8 kB / 0.5174 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.2172, allocations: 27.92 kB / 0.5174 GB, free: 1.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2173, allocations: 78.78 kB / 0.5175 GB, free: 1.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.967e-05/0.2174, allocations: 32.2 kB / 0.5175 GB, free: 1.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2174, allocations: 0 / 0.5175 GB, free: 1.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002295/0.2177, allocations: 121.5 kB / 0.5176 GB, free: 1.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2177, allocations: 11.95 kB / 0.5176 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2177, allocations: 0 / 0.5176 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2177, allocations: 4 kB / 0.5176 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2179, allocations: 23.92 kB / 0.5176 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.2179, allocations: 4 kB / 0.5176 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.218, allocations: 11.91 kB / 0.5177 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.218, allocations: 4 kB / 0.5177 GB, free: 1.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 9.546e-05/0.2181, allocations: 129.9 kB / 0.5178 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.2181, allocations: 11.91 kB / 0.5178 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.2182, allocations: 16.2 kB / 0.5178 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2182, allocations: 0 / 0.5178 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2182, allocations: 4 kB / 0.5178 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2182, allocations: 0 / 0.5178 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.2185, allocations: 197.6 kB / 0.518 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2185, allocations: 4 kB / 0.518 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.2186, allocations: 20.11 kB / 0.518 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2186, allocations: 4 kB / 0.518 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.2186, allocations: 4 kB / 0.518 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2186, allocations: 3.953 kB / 0.518 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2186, allocations: 7.984 kB / 0.518 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.219, allocations: 385.3 kB / 0.5184 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.2191, allocations: 92.94 kB / 0.5185 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.2191, allocations: 8 kB / 0.5185 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2193, allocations: 7.984 kB / 0.5185 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.2193, allocations: 3.984 kB / 0.5185 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2193, allocations: 8.062 kB / 0.5185 GB, free: 32 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.1953/0.4146, allocations: 107.2 kB / 0.5186 GB, free: 82.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4147, allocations: 0 / 0.5186 GB, free: 82.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004441/0.4151, allocations: 16.69 kB / 0.5186 GB, free: 82.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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 (6): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006427/0.4158, allocations: 1.059 MB / 0.5197 GB, free: 81.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.4161, allocations: 67.66 kB / 0.5197 GB, free: 81.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4161, allocations: 0 / 0.5197 GB, free: 81.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.4162, allocations: 30.52 kB / 0.5198 GB, free: 81.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.4165, allocations: 27.12 kB / 0.5198 GB, free: 81.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4178, allocations: 1.461 MB / 0.5212 GB, free: 80.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.4179, allocations: 0.7116 MB / 0.5219 GB, free: 79.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.418, allocations: 14.67 kB / 0.5219 GB, free: 79.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.4181, allocations: 37.56 kB / 0.522 GB, free: 79.97 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4181, allocations: 0.9375 kB / 0.522 GB, free: 79.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.4307, allocations: 2.127 MB / 0.524 GB, free: 79.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.4308, allocations: 167.5 kB / 0.5242 GB, free: 79.56 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.94, allocations: 0 / 0.5242 GB, free: 79.56 MB / 362.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDerivativeLag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDerivativeLag.fmu > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)