Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001883/0.001883, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002347/0.002347, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.509/1.509, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.1865/0.1865, allocations: 38.55 MB / 353.2 MB, free: 12.3 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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [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.002195/0.002195, allocations: 71.89 kB / 493.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3725, allocations: 62.45 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005903/0.3784, allocations: 4.122 MB / 0.5472 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3802, allocations: 0.9294 MB / 0.5481 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.3804, allocations: 15.78 kB / 0.5481 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.3806, allocations: 56.14 kB / 0.5482 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.3812, allocations: 205.2 kB / 0.5484 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.3814, allocations: 99.7 kB / 0.5485 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.3821, allocations: 487.1 kB / 0.5489 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.3823, allocations: 90.58 kB / 0.549 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.3827, allocations: 228.3 kB / 0.5492 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.3831, allocations: 241.2 kB / 0.5495 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.3832, allocations: 27.12 kB / 0.5495 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3833, allocations: 37.81 kB / 0.5495 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.3835, allocations: 126.9 kB / 0.5496 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.3836, allocations: 144.2 kB / 0.5498 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.3841, allocations: 388.7 kB / 0.5501 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3841, allocations: 0 / 0.5501 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3841, allocations: 0 / 0.5501 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3841, allocations: 1.375 kB / 0.5501 GB, free: 11.2 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001407/0.3856, allocations: 0.6361 MB / 0.5508 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3856, allocations: 14.05 kB / 0.5508 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.3858, allocations: 50.17 kB / 0.5508 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/0.3865, allocations: 341.2 kB / 0.5512 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3865, allocations: 19.28 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.3866, allocations: 23.72 kB / 0.5512 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.3872, allocations: 357.8 kB / 0.5515 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3872, allocations: 9.328 kB / 0.5515 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.3873, allocations: 14.92 kB / 0.5516 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3873, allocations: 9.812 kB / 0.5516 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.3878, allocations: 257.4 kB / 0.5518 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.3897, allocations: 1.302 MB / 0.5531 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.39, allocations: 147.3 kB / 0.5532 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3901, allocations: 77.55 kB / 0.5533 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3901, allocations: 6.312 kB / 0.5533 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.3901, allocations: 36.94 kB / 0.5533 GB, free: 8.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.3901, allocations: 0 / 0.5533 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001203/0.3913, allocations: 0.6102 MB / 0.5539 GB, free: 8.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.3914, allocations: 80.55 kB / 0.554 GB, free: 8.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.3917, allocations: 305.1 kB / 0.5543 GB, free: 7.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3918, allocations: 30.83 kB / 0.5543 GB, free: 7.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3919, allocations: 224.4 kB / 0.5545 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.392, allocations: 59.77 kB / 0.5546 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.3921, allocations: 56.11 kB / 0.5547 GB, free: 7.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3923, allocations: 341.7 kB / 0.555 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3924, allocations: 67.58 kB / 0.555 GB, free: 7.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.3926, allocations: 168.7 kB / 0.5552 GB, free: 7.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.3929, allocations: 259.5 kB / 0.5555 GB, free: 6.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3929, allocations: 1.188 kB / 0.5555 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004526/0.3934, allocations: 284 kB / 0.5557 GB, free: 6.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3934, allocations: 10.81 kB / 0.5557 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3934, allocations: 3.25 kB / 0.5557 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3934, allocations: 5.438 kB / 0.5557 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.3937, allocations: 59.14 kB / 0.5558 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3937, allocations: 5.781 kB / 0.5558 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3939, allocations: 18.45 kB / 0.5558 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.3939, allocations: 17.73 kB / 0.5558 GB, free: 6.648 MB / 398.1 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 (29): * Single equations (assignments): 29 * 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 prepare postOptimizeDAE: time 0.0002356/0.3942, allocations: 163.8 kB / 0.556 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.3942, allocations: 27.73 kB / 0.556 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/0.3948, allocations: 238.6 kB / 0.5563 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3948, allocations: 3.281 kB / 0.5563 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3948, allocations: 3.984 kB / 0.5563 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3948, allocations: 1.062 kB / 0.5563 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009489/0.3957, allocations: 0.5327 MB / 0.5568 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3957, allocations: 4.031 kB / 0.5568 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.3959, allocations: 39.97 kB / 0.5568 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3959, allocations: 0 / 0.5568 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.396, allocations: 4 kB / 0.5568 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.396, allocations: 0 / 0.5568 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.396, allocations: 7.938 kB / 0.5568 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.3967, allocations: 424.9 kB / 0.5572 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.3967, allocations: 27.8 kB / 0.5573 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.3968, allocations: 12 kB / 0.5573 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.3969, allocations: 8 kB / 0.5573 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.397, allocations: 16.03 kB / 0.5573 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.397, allocations: 4 kB / 0.5573 GB, free: 5.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.3972, allocations: 219 kB / 0.5575 GB, free: 5.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3972, allocations: 0 / 0.5575 GB, free: 5.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.3976, allocations: 60 kB / 0.5576 GB, free: 4.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * 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.0001261/0.3978, allocations: 95.19 kB / 0.5577 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.3981, allocations: 194.9 kB / 0.5578 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3981, allocations: 4.125 kB / 0.5579 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3983, allocations: 83.89 kB / 0.5579 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.3988, allocations: 68.47 kB / 0.558 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.4, allocations: 0.6939 MB / 0.5587 GB, free: 3.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.4002, allocations: 199.5 kB / 0.5589 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.4003, allocations: 31.44 kB / 0.5589 GB, free: 3.539 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4003, allocations: 0 / 0.5589 GB, free: 3.539 MB / 398.1 MB Notification: Performance of Templates: time 0.006698/0.407, allocations: 4.05 MB / 0.5628 GB, free: 15.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.928600530140102] Failed to read output from testmodel.py, exit status != 0: 0.41613887483254075 0.431327713 0.043803583 Calling exit ...