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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008501/0.00085, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008514/0.0008515, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06689/0.06689, allocations: 14.17 MB / 284.6 MB, free: 7.125 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.0005108/0.0005109, allocations: 12 kB / 348.3 MB, free: 17.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 51.11 MB / 399.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002547/0.1067, allocations: 1.49 MB / 400.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.1072, allocations: 171.5 kB / 401 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1073, allocations: 4 kB / 401 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.1075, allocations: 15.8 kB / 401.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1076, allocations: 15.88 kB / 401.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.1078, allocations: 35.89 kB / 401.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1079, allocations: 103.7 kB / 401.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1081, allocations: 41.45 kB / 401.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.1082, allocations: 35.8 kB / 401.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.1083, allocations: 31.8 kB / 401.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1083, allocations: 0 / 401.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.1083, allocations: 4 kB / 401.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.1083, allocations: 15.92 kB / 401.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.1084, allocations: 37.64 kB / 401.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1085, allocations: 75.86 kB / 401.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1085, allocations: 0 / 401.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1085, allocations: 0 / 401.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1085, allocations: 0 / 401.5 MB, free: 12.54 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.0005533/0.1091, allocations: 407.1 kB / 401.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1091, allocations: 15.95 kB / 401.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.1092, allocations: 46.55 kB / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1093, allocations: 15.81 kB / 401.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1095, allocations: 206.9 kB / 402.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1095, allocations: 12.14 kB / 402.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1096, allocations: 15.94 kB / 402.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.1099, allocations: 131.2 kB / 402.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1099, allocations: 0 / 402.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1099, allocations: 4 kB / 402.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1099, allocations: 0 / 402.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.1102, allocations: 75.89 kB / 402.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.1109, allocations: 0.6029 MB / 403 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.1112, allocations: 103.8 kB / 403.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1113, allocations: 50.81 kB / 403.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1114, allocations: 0 / 403.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1114, allocations: 42.5 kB / 403.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1114, allocations: 0 / 403.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.1118, allocations: 125.6 kB / 403.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.1119, allocations: 106.8 kB / 403.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.112, allocations: 150.3 kB / 403.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.112, allocations: 29.7 kB / 403.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.1121, allocations: 116 kB / 403.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1122, allocations: 31.64 kB / 403.7 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.1122, allocations: 4 kB / 403.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1123, allocations: 322.8 kB / 404 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.1124, allocations: 23.98 kB / 404 MB, free: 9.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1125, allocations: 69.94 kB / 404.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.1126, allocations: 32.23 kB / 404.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1126, allocations: 0 / 404.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002496/0.1129, allocations: 129.5 kB / 404.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1129, allocations: 11.95 kB / 404.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1129, allocations: 0 / 404.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.113, allocations: 4 kB / 404.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1131, allocations: 23.98 kB / 404.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.1131, allocations: 11.91 kB / 404.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.1132, allocations: 24 kB / 404.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1132, allocations: 4 kB / 404.3 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.0001074/0.1133, allocations: 117.8 kB / 404.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1134, allocations: 11.91 kB / 404.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.1134, allocations: 16.25 kB / 404.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1134, allocations: 4 kB / 404.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1134, allocations: 3.984 kB / 404.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1134, allocations: 3.938 kB / 404.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.1137, allocations: 209.6 kB / 404.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1137, allocations: 0 / 404.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1138, allocations: 19.98 kB / 404.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1138, allocations: 3.938 kB / 404.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1138, allocations: 0 / 404.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1139, allocations: 11.89 kB / 404.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1139, allocations: 0 / 404.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.1142, allocations: 233 kB / 405 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.1143, allocations: 88.98 kB / 405.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1143, allocations: 7.984 kB / 405.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.1144, allocations: 4 kB / 405.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.1145, allocations: 19.94 kB / 405.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1145, allocations: 4 kB / 405.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.483e-05/0.1146, allocations: 107.3 kB / 405.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1146, allocations: 0 / 405.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1149, allocations: 16 kB / 405.2 MB, free: 8.352 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.0006988/0.1156, allocations: 0.7687 MB / 406 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1158, allocations: 80.16 kB / 406.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1158, allocations: 0 / 406.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.1159, allocations: 27.98 kB / 406.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1163, allocations: 27.45 kB / 406.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1176, allocations: 0.7223 MB / 406.8 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.118, allocations: 0.708 MB / 407.5 MB, free: 5.895 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.118, allocations: 16.55 kB / 407.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.1181, allocations: 31.44 kB / 407.6 MB, free: 5.844 MB / 302.1 MB Notification: Performance of SimCode: time 1.823e-06/0.1181, allocations: 0 / 407.6 MB, free: 5.844 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.1361, allocations: 2.166 MB / 409.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.1364, allocations: 173.7 kB / 409.9 MB, free: 3.508 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/1.903, allocations: 0 / 409.9 MB, free: 3.508 MB / 302.1 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) Environment - environmentSimulation: