Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_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_dev_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.00088/0.00088, allocations: 86.72 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.0009051/0.0009051, 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 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1497/0.1497, allocations: 16.76 MB / 307.8 MB, free: 15.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002462/0.0002463, allocations: 12 kB / 374.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2156, allocations: 54.56 MB / 429.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.001264/0.2169, allocations: 1.469 MB / 430.9 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002354/0.2172, allocations: 148 kB / 431.1 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.2172, allocations: 2.469 kB / 431.1 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.152e-05/0.2173, allocations: 10.97 kB / 431.1 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2175, allocations: 19.7 kB / 431.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.106e-05/0.2175, allocations: 26.91 kB / 431.2 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2177, allocations: 118.7 kB / 431.3 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2178, allocations: 41.11 kB / 431.3 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.2178, allocations: 37.72 kB / 431.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.2179, allocations: 42.45 kB / 431.4 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2179, allocations: 2.875 kB / 431.4 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.2179, allocations: 2.906 kB / 431.4 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.2179, allocations: 13.14 kB / 431.4 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.218, allocations: 42.39 kB / 431.4 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.554e-05/0.2181, allocations: 72.5 kB / 431.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2181, allocations: 2.719 kB / 431.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2181, allocations: 0 / 431.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.2181, allocations: 4 kB / 431.5 MB, free: 38.88 MB / 350.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.0003668/0.2184, allocations: 407.2 kB / 431.9 MB, free: 38.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.2185, allocations: 8.094 kB / 431.9 MB, free: 38.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.2185, allocations: 19.08 kB / 431.9 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2187, allocations: 215.3 kB / 432.2 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2187, allocations: 5.031 kB / 432.2 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.2187, allocations: 15.31 kB / 432.2 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.2189, allocations: 125.1 kB / 432.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2189, allocations: 0 / 432.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.219, allocations: 8.062 kB / 432.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.219, allocations: 2.5 kB / 432.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.2191, allocations: 63.38 kB / 432.4 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.2196, allocations: 452.7 kB / 432.8 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.2199, allocations: 126.7 kB / 432.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.22, allocations: 49.08 kB / 433 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.22, allocations: 3.984 kB / 433 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.22, allocations: 36.59 kB / 433 MB, free: 37.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.22, allocations: 0 / 433 MB, free: 37.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002907/0.2203, allocations: 130.9 kB / 433.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.2203, allocations: 112.6 kB / 433.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.2204, allocations: 155.1 kB / 433.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.2204, allocations: 28.95 kB / 433.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.2205, allocations: 112.7 kB / 433.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.2205, allocations: 33.19 kB / 433.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.2205, allocations: 4.25 kB / 433.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.2206, allocations: 319.9 kB / 433.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.2206, allocations: 27.33 kB / 433.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.2207, allocations: 60.83 kB / 434 MB, free: 36.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.2208, allocations: 39.12 kB / 434 MB, free: 36.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2208, allocations: 0 / 434 MB, free: 36.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002713/0.2211, allocations: 138.1 kB / 434.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2211, allocations: 10.23 kB / 434.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2211, allocations: 6.219 kB / 434.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.2213, allocations: 36.06 kB / 434.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.2214, allocations: 17.48 kB / 434.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006553/0.222, allocations: 1.357 MB / 435.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.2221, allocations: 9.062 kB / 435.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.2221, allocations: 6.906 kB / 435.6 MB, free: 35.57 MB / 350.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 5.593e-05/0.2222, allocations: 118.7 kB / 435.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.2222, allocations: 17.11 kB / 435.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.2223, allocations: 13.42 kB / 435.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2223, allocations: 0 / 435.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2223, allocations: 0 / 435.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2223, allocations: 2.781 kB / 435.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2224, allocations: 216.3 kB / 436 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2224, allocations: 0 / 436 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2225, allocations: 22.22 kB / 436 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2225, allocations: 0 / 436 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2226, allocations: 14.34 kB / 436 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2226, allocations: 7.938 kB / 436 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2226, allocations: 2.812 kB / 436 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.2228, allocations: 231.9 kB / 436.2 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.2229, allocations: 88.67 kB / 436.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2229, allocations: 3.562 kB / 436.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.223, allocations: 8.016 kB / 436.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.223, allocations: 7.484 kB / 436.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.223, allocations: 7.75 kB / 436.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.2231, allocations: 118.9 kB / 436.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2231, allocations: 3.938 kB / 436.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.2233, allocations: 20.34 kB / 436.5 MB, free: 34.89 MB / 350.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 5.084e-05/0.2234, allocations: 98.23 kB / 436.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.2237, allocations: 204.8 kB / 436.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2238, allocations: 0 / 436.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.2238, allocations: 33.31 kB / 436.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.2241, allocations: 24.3 kB / 436.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.2245, allocations: 288.9 kB / 437.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.2246, allocations: 0.7124 MB / 437.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.2247, allocations: 10.72 kB / 437.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.2247, allocations: 17.41 kB / 437.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2247, allocations: 0 / 437.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of Templates: time 0.002689/0.2274, allocations: 1.109 MB / 439 MB, free: 33.68 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag_res.mat does not exist to compare? outputFormat=mat