Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.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.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="leadLag.T1|leadLag.T2|leadLag.feedback.y|leadLag.firstOrder.T|leadLag.firstOrder.initType|leadLag.firstOrder.k|leadLag.firstOrder.u|leadLag.firstOrder.y|leadLag.firstOrder.y_start|leadLag.gain.k|leadLag.gain.u|leadLag.gain.y|leadLag.initType|leadLag.k|leadLag.noDynamics|leadLag.u|leadLag.y|leadLag.yStart|leadLagAnalyticSolution.y|leadLagNoDynamics.T1|leadLagNoDynamics.T2|leadLagNoDynamics.feedback.y|leadLagNoDynamics.gain.k|leadLagNoDynamics.gain.u|leadLagNoDynamics.gain.y|leadLagNoDynamics.initType|leadLagNoDynamics.k|leadLagNoDynamics.noDynamics|leadLagNoDynamics.u|leadLagNoDynamics.y|leadLagNoDynamics.yStart|leadLagNoDynamics.zero.y|leadLagNoDynamicsAnalyticSolution.y|step.height|step.offset|step.startTime|step.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 88.17 kB / 15.71 MB, free: 452 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.00213/0.002131, allocations: 177.5 kB / 16.59 MB, free: 6.855 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.765/1.765, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06154/0.06154, allocations: 14.16 MB / 285.2 MB, free: 7.137 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.0005159/0.0005161, allocations: 16 kB / 348.8 MB, free: 17.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1341, allocations: 51.11 MB / 399.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002285/0.1364, allocations: 1.475 MB / 401.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004681/0.1369, allocations: 147.5 kB / 401.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.137, allocations: 0 / 401.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1372, allocations: 15.88 kB / 401.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.1373, allocations: 19.84 kB / 401.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.381e-05/0.1374, allocations: 23.97 kB / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1377, allocations: 115.6 kB / 401.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1378, allocations: 45.44 kB / 401.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.1379, allocations: 39.78 kB / 401.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.727e-05/0.138, allocations: 35.78 kB / 401.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.138, allocations: 0 / 401.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.1381, allocations: 4 kB / 401.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.1381, allocations: 19.86 kB / 401.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1381, allocations: 41.64 kB / 401.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1383, allocations: 71.84 kB / 402 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1383, allocations: 0 / 402 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1383, allocations: 4 kB / 402 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1383, allocations: 0 / 402 MB, free: 12.67 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005777/0.1389, allocations: 403 kB / 402.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1389, allocations: 12.02 kB / 402.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.139, allocations: 19.81 kB / 402.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1392, allocations: 211.3 kB / 402.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1393, allocations: 15.94 kB / 402.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1393, allocations: 15.95 kB / 402.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1396, allocations: 112.2 kB / 402.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1396, allocations: 0 / 402.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1396, allocations: 7.938 kB / 402.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1396, allocations: 4 kB / 402.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1398, allocations: 67.95 kB / 402.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.1405, allocations: 445.3 kB / 403.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.1409, allocations: 119.7 kB / 403.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.141, allocations: 62.59 kB / 403.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.141, allocations: 0 / 403.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1411, allocations: 38.56 kB / 403.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1411, allocations: 0 / 403.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003884/0.1415, allocations: 129.6 kB / 403.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1415, allocations: 110.7 kB / 403.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1417, allocations: 147 kB / 403.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1417, allocations: 25.7 kB / 403.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1418, allocations: 111.9 kB / 404 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.1419, allocations: 31.89 kB / 404 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.1419, allocations: 4 kB / 404 MB, free: 10.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1421, allocations: 322.8 kB / 404.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.863e-05/0.1422, allocations: 27.92 kB / 404.4 MB, free: 10 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1423, allocations: 61.14 kB / 404.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1424, allocations: 36.03 kB / 404.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1424, allocations: 0 / 404.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003733/0.1428, allocations: 146.3 kB / 404.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1428, allocations: 4 kB / 404.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1428, allocations: 4.312 kB / 404.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/0.1431, allocations: 36.83 kB / 404.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1432, allocations: 19.92 kB / 404.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.1445, allocations: 1.359 MB / 406 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/0.1446, allocations: 19.97 kB / 406 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1446, allocations: 7.984 kB / 406 MB, free: 8.152 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.1448, allocations: 125.8 kB / 406.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.1448, allocations: 11.81 kB / 406.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.1448, allocations: 12.31 kB / 406.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1448, allocations: 192 / 406.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1449, allocations: 0 / 406.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1449, allocations: 12.06 kB / 406.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.1451, allocations: 201.6 kB / 406.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1451, allocations: 11.98 kB / 406.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1452, allocations: 15.98 kB / 406.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1453, allocations: 0 / 406.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1453, allocations: 11.98 kB / 406.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1453, allocations: 0 / 406.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1453, allocations: 0 / 406.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.1467, allocations: 1.255 MB / 407.7 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.1468, allocations: 89.05 kB / 407.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.1468, allocations: 7.984 kB / 407.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.1469, allocations: 8 kB / 407.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.147, allocations: 8.078 kB / 407.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.147, allocations: 4 kB / 407.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1471, allocations: 120.5 kB / 407.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1471, allocations: 0 / 407.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.1474, allocations: 24 kB / 407.9 MB, free: 6.027 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.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.0001337/0.1476, allocations: 99.19 kB / 408 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.1481, allocations: 206.5 kB / 408.2 MB, free: 5.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1481, allocations: 0 / 408.2 MB, free: 5.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1482, allocations: 35.92 kB / 408.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1486, allocations: 31.44 kB / 408.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.1493, allocations: 406.6 kB / 408.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1496, allocations: 0.7043 MB / 409.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.238e-05/0.1497, allocations: 12.55 kB / 409.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.1498, allocations: 15.38 kB / 409.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1498, allocations: 0 / 409.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of Templates: time 0.003992/0.1538, allocations: 1.185 MB / 410.6 MB, free: 3.266 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLag_res.mat does not exist to compare? outputFormat=mat