Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9852/0.9852, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2225/0.2225, allocations: 29.42 MB / 290.9 MB, free: 2.516 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.625e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003164/0.00318, allocations: 3.472 MB / 373.1 MB, free: 7.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.004312, allocations: 1.168 MB / 374.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.004406, allocations: 7.938 kB / 374.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.004903, allocations: 203.2 kB / 374.5 MB, free: 6.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.005263, allocations: 282.5 kB / 374.8 MB, free: 5.852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.005417, allocations: 107.5 kB / 374.9 MB, free: 5.746 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.005695, allocations: 342.9 kB / 375.2 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.005901, allocations: 110.1 kB / 375.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.006136, allocations: 211.3 kB / 375.5 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.006313, allocations: 143.6 kB / 375.6 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.006334, allocations: 16 kB / 375.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.006573, allocations: 259.1 kB / 375.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.006666, allocations: 107.8 kB / 376 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.006739, allocations: 75.77 kB / 376.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.00706, allocations: 299.1 kB / 376.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007062, allocations: 0 / 376.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.007063, allocations: 0 / 376.4 MB, free: 4.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.007068, allocations: 8 kB / 376.4 MB, free: 4.207 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005099/0.007578, allocations: 0.5384 MB / 376.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.00761, allocations: 11.98 kB / 376.9 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/0.008103, allocations: 136.6 kB / 377.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.00833, allocations: 200.8 kB / 377.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.008344, allocations: 12.38 kB / 377.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.00838, allocations: 28.36 kB / 377.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.008638, allocations: 232.3 kB / 377.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.008651, allocations: 3.938 kB / 377.5 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.008668, allocations: 4 kB / 377.5 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.008696, allocations: 19.98 kB / 377.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.00886, allocations: 111.8 kB / 377.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009941/0.009854, allocations: 1.335 MB / 379 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.01017, allocations: 182.2 kB / 379.2 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.01022, allocations: 39.58 kB / 379.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.01024, allocations: 7.938 kB / 379.2 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.01026, allocations: 37.39 kB / 379.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.01026, allocations: 4 kB / 379.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005387/0.0108, allocations: 283.3 kB / 379.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.01083, allocations: 85.05 kB / 379.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.01095, allocations: 238.6 kB / 379.9 MB, free: 476 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.01097, allocations: 25.7 kB / 379.9 MB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.01105, allocations: 214.9 kB / 380.1 MB, free: 220 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.01108, allocations: 51.59 kB / 380.2 MB, free: 168 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.01113, allocations: 51.36 kB / 380.2 MB, free: 108 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01125, allocations: 0.4923 MB / 380.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.01129, allocations: 23.98 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.361e-05/0.01139, allocations: 163.2 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.01154, allocations: 223.2 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01154, allocations: 0 / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002363/0.01178, allocations: 217.2 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.01179, allocations: 8.031 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.01179, allocations: 4 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.01197, allocations: 35.66 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.01205, allocations: 39.92 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000775/0.01283, allocations: 1.756 MB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.01289, allocations: 8 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.0129, allocations: 11.94 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.567e-05/0.01299, allocations: 176.5 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.01302, allocations: 23.89 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.0132, allocations: 142.7 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01321, allocations: 3.938 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01321, allocations: 4.062 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01321, allocations: 4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.01364, allocations: 495.9 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01365, allocations: 0 / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.01369, allocations: 23.92 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/0.01377, allocations: 35.75 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01378, allocations: 4 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006941/0.01448, allocations: 1.744 MB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01448, allocations: 0 / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.01469, allocations: 333.5 kB / 386.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.0147, allocations: 19.84 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.01471, allocations: 0 / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.01477, allocations: 11.94 kB / 386.2 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.01479, allocations: 11.97 kB / 386.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.0148, allocations: 4 kB / 386.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.01487, allocations: 165.1 kB / 386.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01487, allocations: 0 / 386.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.01509, allocations: 48 kB / 386.4 MB, free: 9.406 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.766e-05/0.01517, allocations: 111.2 kB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.01548, allocations: 278.7 kB / 386.8 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01548, allocations: 0 / 386.8 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.0156, allocations: 218.5 kB / 387 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.01584, allocations: 34.67 kB / 387 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.01665, allocations: 425.4 kB / 387.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.884e-05/0.01671, allocations: 99.89 kB / 387.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.01678, allocations: 41.44 kB / 387.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.01681, allocations: 16.5 kB / 387.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01681, allocations: 3.938 kB / 387.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of Templates: time 0.00345/0.02026, allocations: 1.638 MB / 389.2 MB, free: 6.473 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0654952758923173]