Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.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/Complex 4.0.0+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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerGrids.Controls.Test.TestDerivativeLag,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDerivativeLag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDerivativeLag,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDerivativeLag",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.001086/0.001086, allocations: 92.7 kB / 15.71 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 174.9 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0684/0.0684, allocations: 14.17 MB / 285.2 MB, free: 7.141 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005674/0.0005676, allocations: 12 kB / 348.9 MB, free: 17.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1374, allocations: 51.12 MB / 400 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002662/0.1402, allocations: 1.498 MB / 401.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005387/0.1407, allocations: 151.5 kB / 401.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.141, allocations: 7.938 kB / 401.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1412, allocations: 15.86 kB / 401.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1414, allocations: 15.86 kB / 401.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.1415, allocations: 31.97 kB / 401.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.1418, allocations: 107.7 kB / 401.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.142, allocations: 33.52 kB / 401.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.823e-05/0.1421, allocations: 35.8 kB / 401.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1422, allocations: 31.78 kB / 402 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1422, allocations: 7.938 kB / 402 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.1422, allocations: 4 kB / 402 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.1423, allocations: 11.92 kB / 402 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.1423, allocations: 41.64 kB / 402 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1425, allocations: 71.86 kB / 402.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1425, allocations: 7.938 kB / 402.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1425, allocations: 0 / 402.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1425, allocations: 0 / 402.1 MB, free: 12.53 MB / 302.1 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.0006847/0.1432, allocations: 399.2 kB / 402.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.1433, allocations: 16.02 kB / 402.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.1434, allocations: 38.56 kB / 402.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.1434, allocations: 11.81 kB / 402.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1438, allocations: 214.8 kB / 402.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1438, allocations: 8.141 kB / 402.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.1439, allocations: 12 kB / 402.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1442, allocations: 135.2 kB / 402.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1442, allocations: 7.938 kB / 402.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1442, allocations: 4 kB / 402.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1443, allocations: 4 kB / 402.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.1445, allocations: 67.89 kB / 403 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.1454, allocations: 0.6069 MB / 403.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.1458, allocations: 111.9 kB / 403.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1459, allocations: 50.69 kB / 403.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1459, allocations: 0 / 403.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.146, allocations: 42.45 kB / 403.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.146, allocations: 3.938 kB / 403.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004122/0.1464, allocations: 125.8 kB / 403.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.1465, allocations: 102.8 kB / 404 MB, free: 10.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1467, allocations: 150.4 kB / 404.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1467, allocations: 25.7 kB / 404.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1469, allocations: 123.8 kB / 404.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1469, allocations: 19.66 kB / 404.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.1469, allocations: 4 kB / 404.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1471, allocations: 322.9 kB / 404.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.1472, allocations: 35.86 kB / 404.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1473, allocations: 69.98 kB / 404.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1474, allocations: 36.02 kB / 404.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1474, allocations: 0 / 404.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000271/0.1477, allocations: 129.5 kB / 404.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1477, allocations: 7.953 kB / 404.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.1478, allocations: 0 / 404.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1478, allocations: 4 kB / 404.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1479, allocations: 27.92 kB / 405 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1479, allocations: 0 / 405 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.148, allocations: 19.83 kB / 405 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1481, allocations: 4 kB / 405 MB, free: 9.316 MB / 302.1 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 (11): * Single equations (assignments): 11 * 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 0.0001839/0.1483, allocations: 126 kB / 405.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.1483, allocations: 7.906 kB / 405.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.1483, allocations: 20.27 kB / 405.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1484, allocations: 0 / 405.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1484, allocations: 320 / 405.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1484, allocations: 7.984 kB / 405.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.1487, allocations: 197.6 kB / 405.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1487, allocations: 4 kB / 405.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.1488, allocations: 27.98 kB / 405.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1488, allocations: 0 / 405.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1488, allocations: 4 kB / 405.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1488, allocations: 3.953 kB / 405.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1488, allocations: 0 / 405.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.1504, allocations: 1.228 MB / 406.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.1504, allocations: 85.02 kB / 406.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1505, allocations: 3.984 kB / 406.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.1506, allocations: 7.953 kB / 406.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.1506, allocations: 11.98 kB / 406.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1506, allocations: 0 / 406.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.083e-05/0.1507, allocations: 115.3 kB / 406.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1507, allocations: 4 kB / 406.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1511, allocations: 31.78 kB / 406.9 MB, free: 7.223 MB / 302.1 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 (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.0007574/0.1519, allocations: 0.7609 MB / 407.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1521, allocations: 71.84 kB / 407.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1521, allocations: 384 / 407.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.185e-05/0.1522, allocations: 35.98 kB / 407.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1526, allocations: 19.94 kB / 407.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1544, allocations: 0.8463 MB / 408.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1548, allocations: 0.7083 MB / 409.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.671e-05/0.1548, allocations: 12.55 kB / 409.3 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.1549, allocations: 39.42 kB / 409.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1549, allocations: 0 / 409.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.1713, allocations: 2.176 MB / 411.5 MB, free: 2.492 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.1716, allocations: 196.5 kB / 411.7 MB, free: 2.246 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.109, allocations: 4.062 kB / 411.7 MB, free: 2.242 MB / 302.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDerivativeLag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Controls_Test_TestDerivativeLag.fmu > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) Environment - environmentSimulation: