Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001262/0.001262, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001398/0.001398, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1824/0.1824, allocations: 38.51 MB / 353.2 MB, free: 12.54 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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [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.002004/0.002004, allocations: 67.89 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 62.46 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005839/0.327, allocations: 4.568 MB / 0.5477 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.3295, allocations: 1.59 MB / 0.5492 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.3297, allocations: 21.31 kB / 0.5493 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008608/0.3306, allocations: 305.7 kB / 0.5495 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005706/0.3311, allocations: 283.3 kB / 0.5498 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.3318, allocations: 258.2 kB / 0.5501 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006634/0.3324, allocations: 0.6079 MB / 0.5507 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.3327, allocations: 204 kB / 0.5509 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.3332, allocations: 273.9 kB / 0.5511 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.3337, allocations: 402.6 kB / 0.5515 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/0.3338, allocations: 38.84 kB / 0.5515 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.3342, allocations: 245.5 kB / 0.5518 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.3344, allocations: 241.1 kB / 0.552 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.3347, allocations: 254.8 kB / 0.5522 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009579/0.3357, allocations: 0.6744 MB / 0.5529 GB, free: 9.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3357, allocations: 0 / 0.5529 GB, free: 9.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3357, allocations: 1 kB / 0.5529 GB, free: 9.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.3357, allocations: 0 / 0.5529 GB, free: 9.391 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00147/0.3372, allocations: 0.7178 MB / 0.5536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3372, allocations: 12.8 kB / 0.5536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007376/0.338, allocations: 125 kB / 0.5537 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00077/0.3387, allocations: 360.3 kB / 0.5541 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3388, allocations: 27.42 kB / 0.5541 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.3389, allocations: 50.17 kB / 0.5541 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.34, allocations: 0.6958 MB / 0.5548 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.34, allocations: 1.219 kB / 0.5548 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.3401, allocations: 16.56 kB / 0.5548 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/0.3403, allocations: 67.47 kB / 0.5549 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3413, allocations: 0.6734 MB / 0.5556 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.3451, allocations: 2.568 MB / 0.5581 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.3457, allocations: 297.3 kB / 0.5584 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.3459, allocations: 205.6 kB / 0.5586 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.346, allocations: 4 kB / 0.5586 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.346, allocations: 34.56 kB / 0.5586 GB, free: 4.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.063e-06/0.346, allocations: 0 / 0.5586 GB, free: 4.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002115/0.3481, allocations: 1.241 MB / 0.5598 GB, free: 3.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3482, allocations: 85.05 kB / 0.5599 GB, free: 3.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.3485, allocations: 292.5 kB / 0.5602 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3485, allocations: 29.7 kB / 0.5602 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.3487, allocations: 260.2 kB / 0.5604 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3488, allocations: 138.8 kB / 0.5606 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.349, allocations: 90.08 kB / 0.5607 GB, free: 2.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3491, allocations: 350.7 kB / 0.561 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.3494, allocations: 192.9 kB / 0.5612 GB, free: 1.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.3498, allocations: 325 kB / 0.5615 GB, free: 1.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.3505, allocations: 0.5507 MB / 0.562 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3505, allocations: 3.938 kB / 0.562 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001198/0.3517, allocations: 0.678 MB / 0.5627 GB, free: 28 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3518, allocations: 4 kB / 0.5627 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008985/0.3527, allocations: 491.9 kB / 0.5632 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/0.3531, allocations: 109.6 kB / 0.5633 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.3534, allocations: 83.88 kB / 0.5633 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.3565, allocations: 3.059 MB / 0.5663 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.3567, allocations: 31.91 kB / 0.5664 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.3568, allocations: 20 kB / 0.5664 GB, free: 12 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.357, allocations: 209.7 kB / 0.5666 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.3571, allocations: 39.75 kB / 0.5666 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.3579, allocations: 476.6 kB / 0.5671 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.3579, allocations: 16 kB / 0.5671 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3579, allocations: 0 / 0.5671 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3579, allocations: 7.922 kB / 0.5671 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.3595, allocations: 0.9796 MB / 0.5681 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3595, allocations: 0 / 0.5681 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.3598, allocations: 71.83 kB / 0.5681 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3598, allocations: 7.938 kB / 0.5681 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.3599, allocations: 4 kB / 0.5681 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3599, allocations: 4 kB / 0.5681 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3599, allocations: 0 / 0.5681 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009797/0.3608, allocations: 0.752 MB / 0.5689 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.361, allocations: 59.78 kB / 0.5689 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.361, allocations: 15.88 kB / 0.5689 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3612, allocations: 19.97 kB / 0.569 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.3613, allocations: 23.97 kB / 0.569 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.3613, allocations: 12 kB / 0.569 GB, free: 9.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.3615, allocations: 203.1 kB / 0.5692 GB, free: 9.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3615, allocations: 0 / 0.5692 GB, free: 9.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.362, allocations: 115.9 kB / 0.5693 GB, free: 8.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * 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.0002493/0.3623, allocations: 135.3 kB / 0.5694 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3633, allocations: 0.6819 MB / 0.5701 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3633, allocations: 3.938 kB / 0.5701 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.3636, allocations: 191.8 kB / 0.5703 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.3641, allocations: 79.39 kB / 0.5704 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3659, allocations: 1.171 MB / 0.5715 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.3666, allocations: 0.8784 MB / 0.5724 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3667, allocations: 35.44 kB / 0.5724 GB, free: 5.637 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3667, allocations: 0 / 0.5724 GB, free: 5.637 MB / 414.1 MB Notification: Performance of Templates: time 0.01038/0.3771, allocations: 7.025 MB / 0.5793 GB, free: 14.61 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.49359143897891] Failed to read output from testmodel.py, exit status != 0: 0.38614610489457846 0.399167867 0.060500457 Calling exit ...