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.001583/0.001583, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.000892/0.0008918, allocations: 92.53 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05937/0.05937, allocations: 14.04 MB / 323.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.019e-05, allocations: 0 / 382 MB, free: 72.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 51.12 MB / 433.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4572, allocations: 77.21 MB / 0.4983 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4574, allocations: 65.83 kB / 0.4984 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005731/0.4632, allocations: 2.196 MB / 0.5005 GB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4632, allocations: 4 kB / 0.5005 GB, free: 11.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.4632, allocations: 7.219 kB / 0.5005 GB, free: 11.57 MB / 330.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.0003652/0.4636, allocations: 388.8 kB / 0.5009 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4636, allocations: 7.719 kB / 0.5009 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.4637, allocations: 14.7 kB / 0.5009 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.4641, allocations: 239 kB / 0.5012 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4641, allocations: 15.64 kB / 0.5012 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.4641, allocations: 7.531 kB / 0.5012 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/0.4642, allocations: 40.22 kB / 0.5012 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4644, allocations: 107.8 kB / 0.5013 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4644, allocations: 0 / 0.5013 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4644, allocations: 3.844 kB / 0.5013 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4644, allocations: 4 kB / 0.5013 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.4651, allocations: 0.7264 MB / 0.5021 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.4652, allocations: 71.95 kB / 0.5021 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.4652, allocations: 36.48 kB / 0.5022 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.4653, allocations: 7.938 kB / 0.5022 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4653, allocations: 40.7 kB / 0.5022 GB, free: 10.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4653, allocations: 0 / 0.5022 GB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001998/0.4655, allocations: 67.34 kB / 0.5023 GB, free: 10.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.4655, allocations: 105.5 kB / 0.5024 GB, free: 9.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.4656, allocations: 132.3 kB / 0.5025 GB, free: 9.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4657, allocations: 25.7 kB / 0.5025 GB, free: 9.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.4657, allocations: 127.5 kB / 0.5026 GB, free: 9.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.4657, allocations: 13.56 kB / 0.5026 GB, free: 9.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.4657, allocations: 0 / 0.5026 GB, free: 9.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.4658, allocations: 325.6 kB / 0.503 GB, free: 9.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.4658, allocations: 6.969 kB / 0.503 GB, free: 9.402 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.286e-05/0.4659, allocations: 64.42 kB / 0.503 GB, free: 9.336 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.4659, allocations: 23.75 kB / 0.5031 GB, free: 9.332 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4659, allocations: 0 / 0.5031 GB, free: 9.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001118/0.4661, allocations: 96.52 kB / 0.5031 GB, free: 9.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4661, allocations: 7.625 kB / 0.5032 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4661, allocations: 0 / 0.5032 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4661, allocations: 7.797 kB / 0.5032 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.4662, allocations: 18.11 kB / 0.5032 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4663, allocations: 6.891 kB / 0.5032 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.4663, allocations: 11.72 kB / 0.5032 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4664, allocations: 4 kB / 0.5032 GB, free: 9.27 MB / 330.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 () * 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 5.951e-05/0.4664, allocations: 116.4 kB / 0.5033 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001199/0.4665, allocations: 69.3 kB / 0.5034 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.4666, allocations: 11.7 kB / 0.5034 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.4666, allocations: 13.69 kB / 0.5034 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4667, allocations: 3.812 kB / 0.5034 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4667, allocations: 0 / 0.5034 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4667, allocations: 0 / 0.5034 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.4669, allocations: 174.6 kB / 0.5036 GB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4669, allocations: 8.062 kB / 0.5036 GB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.467, allocations: 14.06 kB / 0.5036 GB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.467, allocations: 6.906 kB / 0.5036 GB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.467, allocations: 0 / 0.5036 GB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4671, allocations: 3.953 kB / 0.5036 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4671, allocations: 192 / 0.5036 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4673, allocations: 357.7 kB / 0.5039 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.4673, allocations: 92.69 kB / 0.504 GB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.4674, allocations: 0 / 0.504 GB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.4675, allocations: 10.73 kB / 0.504 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.4676, allocations: 7.219 kB / 0.504 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.4676, allocations: 0 / 0.504 GB, free: 8.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.648e-05/0.4676, allocations: 110.3 kB / 0.5042 GB, free: 8.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4676, allocations: 0 / 0.5042 GB, free: 8.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.468, allocations: 22.91 kB / 0.5042 GB, free: 8.414 MB / 330.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 () * 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.0004052/0.4684, allocations: 1.02 MB / 0.5052 GB, free: 7.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.4685, allocations: 39.8 kB / 0.5052 GB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4685, allocations: 0 / 0.5052 GB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.4686, allocations: 19.12 kB / 0.5052 GB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.4689, allocations: 21.5 kB / 0.5052 GB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.4694, allocations: 209.7 kB / 0.5054 GB, free: 7.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.4696, allocations: 0.7067 MB / 0.5061 GB, free: 6.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.4697, allocations: 16.7 kB / 0.5062 GB, free: 6.555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.4697, allocations: 30.58 kB / 0.5062 GB, free: 6.547 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4697, allocations: 0 / 0.5062 GB, free: 6.547 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.4917, allocations: 1.804 MB / 0.5079 GB, free: 6.266 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.492, allocations: 119 kB / 0.5081 GB, free: 6.078 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.984, allocations: 0 / 0.5081 GB, free: 6.078 MB / 330.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)