Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.001312/0.001312, allocations: 108.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001453/0.001453, allocations: 213.9 kB / 24.5 MB, free: 4.145 MB / 14.72 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 1.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.185/0.185, allocations: 38.52 MB / 353.2 MB, free: 12.57 MB / 286.1 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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.91 kB / 493.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 62.46 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005881/0.3107, allocations: 4.579 MB / 0.5477 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.3133, allocations: 1.505 MB / 0.5491 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.3135, allocations: 21.34 kB / 0.5492 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3146, allocations: 385.2 kB / 0.5495 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006177/0.3153, allocations: 252.5 kB / 0.5498 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.316, allocations: 248.6 kB / 0.55 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.3166, allocations: 0.5622 MB / 0.5506 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.317, allocations: 224.7 kB / 0.5508 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.3174, allocations: 272 kB / 0.551 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.318, allocations: 378.5 kB / 0.5514 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.318, allocations: 44.34 kB / 0.5514 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.3185, allocations: 249.5 kB / 0.5517 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.3187, allocations: 244.6 kB / 0.5519 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.319, allocations: 260.8 kB / 0.5522 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008029/0.3198, allocations: 0.6732 MB / 0.5528 GB, free: 9.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3198, allocations: 3.984 kB / 0.5528 GB, free: 9.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3198, allocations: 0 / 0.5528 GB, free: 9.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.3198, allocations: 0 / 0.5528 GB, free: 9.461 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001424/0.3212, allocations: 0.708 MB / 0.5535 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3213, allocations: 14.14 kB / 0.5535 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.3221, allocations: 129.8 kB / 0.5536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.3228, allocations: 356.9 kB / 0.554 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.3228, allocations: 36.36 kB / 0.554 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.323, allocations: 50.17 kB / 0.5541 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.324, allocations: 0.6803 MB / 0.5547 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.324, allocations: 5.188 kB / 0.5547 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.3241, allocations: 11.53 kB / 0.5548 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/0.3243, allocations: 57.89 kB / 0.5548 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.3253, allocations: 0.6695 MB / 0.5555 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.329, allocations: 2.375 MB / 0.5578 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.3295, allocations: 332.6 kB / 0.5581 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.3298, allocations: 226 kB / 0.5583 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.3299, allocations: 8.266 kB / 0.5583 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3299, allocations: 38.84 kB / 0.5584 GB, free: 4.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.265e-06/0.3299, allocations: 0 / 0.5584 GB, free: 4.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002348/0.3323, allocations: 1.413 MB / 0.5597 GB, free: 3.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.3323, allocations: 81.11 kB / 0.5598 GB, free: 3.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.3326, allocations: 292.1 kB / 0.5601 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.3327, allocations: 29.7 kB / 0.5601 GB, free: 2.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.3328, allocations: 248.4 kB / 0.5604 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.333, allocations: 174.5 kB / 0.5605 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.3331, allocations: 94.17 kB / 0.5606 GB, free: 2.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3333, allocations: 350.8 kB / 0.561 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.3336, allocations: 217 kB / 0.5612 GB, free: 1.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.3341, allocations: 368.6 kB / 0.5615 GB, free: 1.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.3349, allocations: 0.6278 MB / 0.5621 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3349, allocations: 0 / 0.5621 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001287/0.3362, allocations: 0.7164 MB / 0.5628 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3362, allocations: 16 kB / 0.5628 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008877/0.3371, allocations: 0.5186 MB / 0.5633 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/0.3374, allocations: 72.73 kB / 0.5634 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.3378, allocations: 107.9 kB / 0.5635 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.3396, allocations: 1.62 MB / 0.5651 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.3399, allocations: 31.97 kB / 0.5651 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.3399, allocations: 23.98 kB / 0.5652 GB, free: 13.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.3402, allocations: 209.7 kB / 0.5654 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3403, allocations: 47.69 kB / 0.5654 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000902/0.3412, allocations: 0.5589 MB / 0.5659 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.3412, allocations: 15.98 kB / 0.566 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3412, allocations: 0 / 0.566 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3412, allocations: 3.938 kB / 0.566 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.3432, allocations: 1.172 MB / 0.5671 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3432, allocations: 4 kB / 0.5671 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.3436, allocations: 75.89 kB / 0.5672 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.3436, allocations: 4 kB / 0.5672 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.3437, allocations: 11.98 kB / 0.5672 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3437, allocations: 7.938 kB / 0.5672 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3437, allocations: 96 / 0.5672 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.3449, allocations: 0.9356 MB / 0.5681 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.345, allocations: 39.7 kB / 0.5682 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.345, allocations: 12 kB / 0.5682 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3453, allocations: 24.02 kB / 0.5682 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.3453, allocations: 27.89 kB / 0.5682 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.3453, allocations: 12 kB / 0.5682 GB, free: 10.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3455, allocations: 199.1 kB / 0.5684 GB, free: 9.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3455, allocations: 0 / 0.5684 GB, free: 9.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005286/0.3461, allocations: 120 kB / 0.5685 GB, free: 9.879 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0002393/0.3463, allocations: 143.2 kB / 0.5687 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3474, allocations: 0.6293 MB / 0.5693 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3474, allocations: 5.125 kB / 0.5693 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.3477, allocations: 239.4 kB / 0.5695 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.3482, allocations: 60.88 kB / 0.5696 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.3502, allocations: 1.245 MB / 0.5708 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.3507, allocations: 0.8744 MB / 0.5716 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3509, allocations: 31.44 kB / 0.5717 GB, free: 6.562 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3509, allocations: 0 / 0.5717 GB, free: 6.562 MB / 414.1 MB Notification: Performance of Templates: time 0.01031/0.3612, allocations: 6.602 MB / 0.5781 GB, free: 15.97 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.678494608961046] Failed to read output from testmodel.py, exit status != 0: 0.3702344628982246 0.38392228100000003 0.061156047000000005 Calling exit ...