Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 182.8 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 221.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 105.5 kB / 269.2 MB, free: 8.418 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06198/0.06198, allocations: 14.17 MB / 330.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.89 kB / 393.7 MB, free: 62.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07728/0.07839, allocations: 50.13 MB / 443.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.002702/0.08113, allocations: 1.863 MB / 445.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000328/0.08148, allocations: 143.5 kB / 445.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.08164, allocations: 3.938 kB / 445.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.0818, allocations: 11.92 kB / 445.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.08201, allocations: 27.84 kB / 445.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.699e-05/0.08212, allocations: 35.91 kB / 445.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.08226, allocations: 115.7 kB / 446 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.0824, allocations: 53.25 kB / 446.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.08247, allocations: 51.72 kB / 446.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.08255, allocations: 43.77 kB / 446.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.08258, allocations: 4 kB / 446.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.0826, allocations: 8 kB / 446.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.08263, allocations: 19.92 kB / 446.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.08268, allocations: 51.61 kB / 446.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.08279, allocations: 99.67 kB / 446.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.0828, allocations: 0 / 446.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.08281, allocations: 0 / 446.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.08282, allocations: 4 kB / 446.3 MB, free: 10.12 MB / 298.7 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.0004871/0.08331, allocations: 423 kB / 446.8 MB, free: 9.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.08335, allocations: 8.031 kB / 446.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.0834, allocations: 16.75 kB / 446.8 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.08358, allocations: 216.5 kB / 447 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.0836, allocations: 12.31 kB / 447 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.08364, allocations: 12.38 kB / 447 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.08385, allocations: 116.3 kB / 447.1 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.08387, allocations: 4 kB / 447.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.08388, allocations: 7.938 kB / 447.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.08389, allocations: 4 kB / 447.1 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.08407, allocations: 59.95 kB / 447.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.08459, allocations: 445.2 kB / 447.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.08494, allocations: 131.8 kB / 447.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.08504, allocations: 46.56 kB / 447.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.08507, allocations: 7.938 kB / 447.8 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.08509, allocations: 34.56 kB / 447.9 MB, free: 8.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.08509, allocations: 0 / 447.9 MB, free: 8.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003401/0.08544, allocations: 125.6 kB / 448 MB, free: 8.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.08547, allocations: 110.8 kB / 448.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/0.08557, allocations: 146.4 kB / 448.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.08559, allocations: 29.7 kB / 448.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.08564, allocations: 115.9 kB / 448.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.08566, allocations: 23.64 kB / 448.4 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.08571, allocations: 33.95 kB / 448.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.08577, allocations: 318.8 kB / 448.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.08585, allocations: 23.97 kB / 448.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.08595, allocations: 57.14 kB / 448.8 MB, free: 7.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.08614, allocations: 87.38 kB / 448.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.08616, allocations: 0 / 448.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003199/0.08648, allocations: 146.4 kB / 449 MB, free: 7.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.08651, allocations: 8 kB / 449.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.08652, allocations: 0 / 449.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.08671, allocations: 36.83 kB / 449.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.08681, allocations: 15.98 kB / 449.1 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000777/0.08759, allocations: 1.351 MB / 450.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.022e-05/0.0877, allocations: 11.92 kB / 450.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.08772, allocations: 4 kB / 450.5 MB, free: 5.527 MB / 298.7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/0.08779, allocations: 129.8 kB / 450.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.08783, allocations: 8.047 kB / 450.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.08786, allocations: 24.22 kB / 450.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.08787, allocations: 4 kB / 450.6 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.08787, allocations: 3.938 kB / 450.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.08788, allocations: 3.938 kB / 450.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.08804, allocations: 213.5 kB / 450.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.08804, allocations: 0 / 450.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.08816, allocations: 15.98 kB / 450.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.08817, allocations: 4 kB / 450.9 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.08819, allocations: 4 kB / 450.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.08819, allocations: 0 / 450.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.0882, allocations: 4 kB / 450.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.08918, allocations: 1.245 MB / 452.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.08922, allocations: 89 kB / 452.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.08924, allocations: 11.88 kB / 452.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.08935, allocations: 8.094 kB / 452.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.0894, allocations: 3.984 kB / 452.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.08941, allocations: 8 kB / 452.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.948e-05/0.08948, allocations: 119.9 kB / 452.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.08948, allocations: 0 / 452.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000326/0.08981, allocations: 35.78 kB / 452.4 MB, free: 3.387 MB / 298.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.761e-05/0.08989, allocations: 95.25 kB / 452.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.09029, allocations: 190.6 kB / 452.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.09031, allocations: 0 / 452.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.09041, allocations: 35.97 kB / 452.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.09076, allocations: 39.38 kB / 452.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.09126, allocations: 410 kB / 453.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.09139, allocations: 0.7121 MB / 453.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.929e-05/0.09147, allocations: 12.55 kB / 453.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.09151, allocations: 11.44 kB / 453.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.09152, allocations: 0 / 453.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of Templates: time 0.003121/0.09464, allocations: 1.261 MB / 455.1 MB, free: 0.5508 MB / 298.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1)