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.0008548/0.0008548, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000925/0.00178, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006717/0.0006717, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008929/0.001565, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8716/0.8716, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08114/0.9527, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1133/0.1133, allocations: 29.43 MB / 273.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1176/0.2309, allocations: 9.529 MB / 283.1 MB, free: 12.81 MB / 282.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.322e-06/1.322e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.398e-05, allocations: 2.969 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00301/0.003024, allocations: 3.575 MB / 288 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.004182, allocations: 1.166 MB / 289.2 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.00427, allocations: 8.594 kB / 289.2 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.004679, allocations: 266.5 kB / 289.4 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.005039, allocations: 291 kB / 289.7 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.005213, allocations: 110.2 kB / 289.8 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.00549, allocations: 351 kB / 290.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.005669, allocations: 120.5 kB / 290.3 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.005911, allocations: 220.5 kB / 290.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.006101, allocations: 158.4 kB / 290.6 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.006124, allocations: 14.28 kB / 290.7 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.006416, allocations: 258.4 kB / 290.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.006503, allocations: 108.2 kB / 291 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.006568, allocations: 63 kB / 291.1 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.006864, allocations: 286.9 kB / 291.4 MB, free: 6.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.006873, allocations: 0 / 291.4 MB, free: 6.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006874, allocations: 1.25 kB / 291.4 MB, free: 6.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.006884, allocations: 0 / 291.4 MB, free: 6.789 MB / 282.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.0004831/0.007367, allocations: 474.9 kB / 291.8 MB, free: 6.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.007393, allocations: 13.62 kB / 291.8 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/0.007895, allocations: 208.3 kB / 292 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.008104, allocations: 199.2 kB / 292.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.008118, allocations: 14.91 kB / 292.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.008148, allocations: 20.8 kB / 292.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.00836, allocations: 200.3 kB / 292.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.008371, allocations: 7.938 kB / 292.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.008389, allocations: 11.06 kB / 292.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.008416, allocations: 14.61 kB / 292.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.008537, allocations: 90.72 kB / 292.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/0.009312, allocations: 0.9729 MB / 293.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.009597, allocations: 207.3 kB / 293.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.009628, allocations: 23.62 kB / 293.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.009643, allocations: 6.766 kB / 293.8 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.009664, allocations: 36.91 kB / 293.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.009666, allocations: 1.094 kB / 293.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003937/0.01006, allocations: 185.5 kB / 294 MB, free: 4.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.01009, allocations: 83.52 kB / 294.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.01017, allocations: 177.8 kB / 294.3 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.01019, allocations: 29.7 kB / 294.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.01024, allocations: 162.3 kB / 294.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.01027, allocations: 45.59 kB / 294.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.01031, allocations: 44.03 kB / 294.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.01038, allocations: 331.2 kB / 294.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.01041, allocations: 20.7 kB / 294.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.01047, allocations: 118.6 kB / 295 MB, free: 3.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.0106, allocations: 181 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.0106, allocations: 2 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001756/0.01078, allocations: 172.7 kB / 295.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.01079, allocations: 8 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01079, allocations: 8.422 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.01093, allocations: 36.83 kB / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.01103, allocations: 51.91 kB / 295.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005915/0.01162, allocations: 1.187 MB / 296.6 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.01168, allocations: 12 kB / 296.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.01169, allocations: 11.98 kB / 296.7 MB, free: 1.957 MB / 282.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 7.268e-05/0.01177, allocations: 136.5 kB / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.01179, allocations: 11.98 kB / 296.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.01194, allocations: 115.9 kB / 296.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01194, allocations: 4 kB / 296.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01194, allocations: 4.031 kB / 296.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01195, allocations: 7.875 kB / 296.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.01227, allocations: 378.5 kB / 297.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01227, allocations: 4 kB / 297.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.01231, allocations: 19.98 kB / 297.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.01233, allocations: 19.84 kB / 297.4 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.206e-05/0.0124, allocations: 28.92 kB / 297.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.01241, allocations: 4 kB / 297.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005221/0.01293, allocations: 1.198 MB / 298.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01293, allocations: 4 kB / 298.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.0131, allocations: 282.5 kB / 298.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.01311, allocations: 4 kB / 298.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.01316, allocations: 4 kB / 298.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.01318, allocations: 23.84 kB / 298.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.01319, allocations: 0 / 298.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.315e-05/0.01322, allocations: 46.78 kB / 298.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01322, allocations: 0 / 298.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00019/0.01341, allocations: 52 kB / 299 MB, free: 15.44 MB / 298.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 5.95e-05/0.01347, allocations: 80.42 kB / 299.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.01369, allocations: 219.5 kB / 299.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.0137, allocations: 4 kB / 299.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.01381, allocations: 168.7 kB / 299.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01403, allocations: 160.8 kB / 299.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.01824, allocations: 435.8 kB / 300 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.0183, allocations: 99.95 kB / 300.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.01834, allocations: 17.64 kB / 300.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.0184, allocations: 71.36 kB / 300.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0184, allocations: 0 / 300.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Templates: time 0.003238/0.02164, allocations: 1.747 MB / 302 MB, free: 12.38 MB / 298.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: 2.4883974669501185]