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.0009645/0.0009647, allocations: 96.27 kB / 15.7 MB, free: 472 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.001408/0.001408, allocations: 180.4 kB / 16.58 MB, free: 6.391 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.724/1.724, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05804/0.05804, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.0008239/0.000824, allocations: 16 kB / 348.9 MB, free: 17.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1201, allocations: 51.11 MB / 400 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002202/0.1224, allocations: 1.5 MB / 401.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.1228, allocations: 159.5 kB / 401.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1229, allocations: 7.938 kB / 401.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.123, allocations: 7.922 kB / 401.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1232, allocations: 31.89 kB / 401.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.1233, allocations: 35.95 kB / 401.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1235, allocations: 79.8 kB / 401.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1237, allocations: 45.48 kB / 401.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.032e-05/0.1238, allocations: 35.8 kB / 401.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1239, allocations: 35.78 kB / 401.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1239, allocations: 3.938 kB / 401.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.1239, allocations: 4 kB / 401.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.124, allocations: 19.92 kB / 401.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.124, allocations: 37.64 kB / 402 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.1241, allocations: 71.86 kB / 402 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1241, allocations: 0 / 402 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1241, allocations: 0 / 402 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1241, allocations: 0 / 402 MB, free: 12.57 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.0006082/0.1248, allocations: 395.2 kB / 402.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.1248, allocations: 20.02 kB / 402.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.1249, allocations: 38.55 kB / 402.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.125, allocations: 15.81 kB / 402.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1253, allocations: 214.8 kB / 402.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.1254, allocations: 12.14 kB / 402.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.1254, allocations: 8 kB / 402.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.1257, allocations: 139.2 kB / 402.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1258, allocations: 0 / 402.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1258, allocations: 0 / 402.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1258, allocations: 4 kB / 402.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.126, allocations: 67.91 kB / 402.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.1268, allocations: 0.5991 MB / 403.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1271, allocations: 111.8 kB / 403.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1271, allocations: 3.938 kB / 403.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.1272, allocations: 46.69 kB / 403.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.1272, allocations: 0 / 403.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004439/0.1277, allocations: 121.6 kB / 403.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.1277, allocations: 106.8 kB / 403.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1279, allocations: 158.5 kB / 404.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.128, allocations: 25.7 kB / 404.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.1281, allocations: 119.8 kB / 404.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1281, allocations: 23.64 kB / 404.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.1281, allocations: 4 kB / 404.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1283, allocations: 322.8 kB / 404.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.1284, allocations: 27.92 kB / 404.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1285, allocations: 73.98 kB / 404.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1286, allocations: 32.02 kB / 404.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1286, allocations: 0 / 404.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002491/0.1289, allocations: 125.4 kB / 404.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1289, allocations: 4 kB / 404.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1289, allocations: 3.953 kB / 404.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.129, allocations: 4 kB / 404.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1291, allocations: 32.39 kB / 404.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1291, allocations: 0 / 404.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.385e-05/0.1292, allocations: 23.83 kB / 404.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1292, allocations: 8 kB / 404.9 MB, free: 9.418 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.0001129/0.1294, allocations: 125.8 kB / 405 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1294, allocations: 7.906 kB / 405 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.1294, allocations: 12.31 kB / 405 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1295, allocations: 7.953 kB / 405 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1295, allocations: 3.984 kB / 405 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1295, allocations: 4 kB / 405 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.1297, allocations: 197.6 kB / 405.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1297, allocations: 4 kB / 405.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1298, allocations: 15.98 kB / 405.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1299, allocations: 3.938 kB / 405.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1299, allocations: 4 kB / 405.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1299, allocations: 0 / 405.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1299, allocations: 3.953 kB / 405.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.1315, allocations: 1.251 MB / 406.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.1315, allocations: 89.03 kB / 406.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1316, allocations: 0 / 406.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.1317, allocations: 4 kB / 406.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.1317, allocations: 15.92 kB / 406.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1317, allocations: 4 kB / 406.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.825e-05/0.1318, allocations: 107.2 kB / 406.7 MB, free: 7.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1318, allocations: 3.938 kB / 406.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.1322, allocations: 31.84 kB / 406.8 MB, free: 7.301 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.0007325/0.1329, allocations: 0.9214 MB / 407.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1331, allocations: 71.84 kB / 407.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1332, allocations: 0 / 407.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.1332, allocations: 36.36 kB / 407.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1335, allocations: 24.19 kB / 407.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.1351, allocations: 1.605 MB / 409.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1355, allocations: 0.7119 MB / 410.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.211e-05/0.1355, allocations: 12.55 kB / 410.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.1356, allocations: 39.42 kB / 410.2 MB, free: 3.727 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1356, allocations: 0 / 410.2 MB, free: 3.727 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.1492, allocations: 2.152 MB / 412.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.1494, allocations: 195.8 kB / 412.5 MB, free: 1.402 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.944, allocations: 4 kB / 412.5 MB, free: 1.398 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: