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.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="derivativeLag.T1|derivativeLag.Td|derivativeLag.feedback.y|derivativeLag.gain.k|derivativeLag.gain.u|derivativeLag.gain.y|derivativeLag.initType|derivativeLag.integrator.initType|derivativeLag.integrator.k|derivativeLag.integrator.u|derivativeLag.integrator.y|derivativeLag.integrator.y_start|derivativeLag.noDynamics|derivativeLag.u|derivativeLag.y|derivativeLag.yStart|derivativeLagAnalyticSolution.y|derivativeLagNoDynamics.T1|derivativeLagNoDynamics.Td|derivativeLagNoDynamics.feedback.y|derivativeLagNoDynamics.gain.k|derivativeLagNoDynamics.gain.u|derivativeLagNoDynamics.gain.y|derivativeLagNoDynamics.initType|derivativeLagNoDynamics.noDynamics|derivativeLagNoDynamics.u|derivativeLagNoDynamics.y|derivativeLagNoDynamics.yStart|derivativeLagNoDynamics.zero.y|derivativeLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009337, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009809/0.0009808, allocations: 172.7 kB / 15.95 MB, free: 208 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.675/1.675, allocations: 205.4 MB / 222.1 MB, free: 5.328 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06484/0.06484, allocations: 14.16 MB / 284.5 MB, free: 7.02 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.0007491/0.0007492, allocations: 12 kB / 348.2 MB, free: 17.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1203, allocations: 51.12 MB / 399.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002232/0.1226, allocations: 1.484 MB / 400.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.123, allocations: 163.5 kB / 400.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1231, allocations: 11.94 kB / 400.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1232, allocations: 11.86 kB / 400.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.1234, allocations: 23.84 kB / 401 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.536e-05/0.1235, allocations: 27.97 kB / 401 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1236, allocations: 99.7 kB / 401.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1237, allocations: 41.45 kB / 401.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.1238, allocations: 31.8 kB / 401.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.1239, allocations: 47.7 kB / 401.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1239, allocations: 0 / 401.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.1239, allocations: 4 kB / 401.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.124, allocations: 11.94 kB / 401.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.124, allocations: 37.64 kB / 401.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1241, allocations: 79.78 kB / 401.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1241, allocations: 0 / 401.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1241, allocations: 0 / 401.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1241, allocations: 0 / 401.3 MB, free: 12.61 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.0004682/0.1246, allocations: 395.2 kB / 401.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1247, allocations: 12.02 kB / 401.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1247, allocations: 15.81 kB / 401.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1249, allocations: 210.8 kB / 402 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.125, allocations: 12.14 kB / 402 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.125, allocations: 15.98 kB / 402 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1253, allocations: 135.2 kB / 402.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1253, allocations: 0 / 402.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1253, allocations: 8 kB / 402.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1253, allocations: 0 / 402.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.1255, allocations: 67.91 kB / 402.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.1263, allocations: 0.6069 MB / 402.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.1265, allocations: 107.9 kB / 402.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1267, allocations: 54.62 kB / 403 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1267, allocations: 0 / 403 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1267, allocations: 38.52 kB / 403 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1267, allocations: 0 / 403 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.000372/0.1271, allocations: 121.7 kB / 403.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.1272, allocations: 110.8 kB / 403.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1273, allocations: 154.3 kB / 403.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1273, allocations: 25.7 kB / 403.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.1274, allocations: 115.8 kB / 403.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1274, allocations: 27.64 kB / 403.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.1275, allocations: 0 / 403.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1276, allocations: 327 kB / 403.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.1277, allocations: 27.92 kB / 403.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1278, allocations: 77.92 kB / 404 MB, free: 9.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.1279, allocations: 32.02 kB / 404 MB, free: 9.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1279, allocations: 0 / 404 MB, free: 9.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002428/0.1281, allocations: 121.4 kB / 404.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1282, allocations: 8 kB / 404.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1282, allocations: 7.891 kB / 404.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1282, allocations: 4 kB / 404.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1283, allocations: 27.98 kB / 404.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1284, allocations: 3.984 kB / 404.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.1284, allocations: 19.83 kB / 404.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1285, allocations: 4.156 kB / 404.2 MB, free: 9.453 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 9.521e-05/0.1286, allocations: 125.8 kB / 404.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1286, allocations: 11.91 kB / 404.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.1286, allocations: 16.31 kB / 404.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1287, allocations: 7.938 kB / 404.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1287, allocations: 3.984 kB / 404.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1287, allocations: 0 / 404.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1289, allocations: 197.6 kB / 404.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1289, allocations: 0 / 404.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.129, allocations: 23.98 kB / 404.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.129, allocations: 320 / 404.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.129, allocations: 4 kB / 404.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1291, allocations: 8 kB / 404.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1291, allocations: 3.953 kB / 404.6 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.1294, allocations: 237 kB / 404.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.1295, allocations: 88.95 kB / 404.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1295, allocations: 0 / 404.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.1296, allocations: 7.984 kB / 404.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.1297, allocations: 11.95 kB / 404.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1297, allocations: 7.984 kB / 404.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.1298, allocations: 107.3 kB / 405 MB, free: 8.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1298, allocations: 0 / 405 MB, free: 8.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1301, allocations: 23.94 kB / 405.1 MB, free: 8.484 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 9.822e-05/0.1302, allocations: 91.25 kB / 405.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1304, allocations: 80.14 kB / 405.2 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1304, allocations: 3.938 kB / 405.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.1305, allocations: 31.98 kB / 405.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1309, allocations: 15.98 kB / 405.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.1314, allocations: 283.4 kB / 405.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1318, allocations: 0.7128 MB / 406.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.556e-05/0.1318, allocations: 8.547 kB / 406.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.1319, allocations: 15.44 kB / 406.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1319, allocations: 0 / 406.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of Templates: time 0.004263/0.1362, allocations: 0.857 MB / 407.1 MB, free: 6.328 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile (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 & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag_res.mat does not exist to compare? outputFormat=mat