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.00129/0.00129, allocations: 112.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.001537/0.001537, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.184/0.184, allocations: 38.53 MB / 353.2 MB, free: 12.53 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.002126/0.002126, allocations: 67.91 kB / 493.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2952, allocations: 62.46 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005987/0.3012, allocations: 4.359 MB / 0.5475 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.303, allocations: 0.9961 MB / 0.5485 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.3032, allocations: 15.81 kB / 0.5485 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.3034, allocations: 52.05 kB / 0.5485 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006855/0.3041, allocations: 208.9 kB / 0.5487 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.3044, allocations: 100.3 kB / 0.5488 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.3051, allocations: 486 kB / 0.5493 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.3053, allocations: 94.88 kB / 0.5494 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.3058, allocations: 221.2 kB / 0.5496 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.3062, allocations: 259.7 kB / 0.5498 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.3063, allocations: 27.12 kB / 0.5499 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3064, allocations: 34.25 kB / 0.5499 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3066, allocations: 130.2 kB / 0.55 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.3068, allocations: 176.7 kB / 0.5502 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.3074, allocations: 384.4 kB / 0.5505 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3074, allocations: 1.094 kB / 0.5505 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3074, allocations: 0 / 0.5505 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.3074, allocations: 0 / 0.5505 GB, free: 11.03 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.001664/0.3091, allocations: 0.6321 MB / 0.5512 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3091, allocations: 14.36 kB / 0.5512 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.3094, allocations: 50.89 kB / 0.5512 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/0.3101, allocations: 336.3 kB / 0.5515 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.3101, allocations: 18.19 kB / 0.5516 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.3102, allocations: 25.09 kB / 0.5516 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.3108, allocations: 362.9 kB / 0.5519 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3108, allocations: 1.188 kB / 0.5519 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.3108, allocations: 15.12 kB / 0.552 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3108, allocations: 6.75 kB / 0.552 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.3113, allocations: 266.1 kB / 0.5522 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.3133, allocations: 1.405 MB / 0.5536 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.3135, allocations: 150.1 kB / 0.5537 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3137, allocations: 78.7 kB / 0.5538 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3137, allocations: 1.156 kB / 0.5538 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3137, allocations: 36.66 kB / 0.5538 GB, free: 8.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.3137, allocations: 0 / 0.5538 GB, free: 8.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001192/0.3149, allocations: 0.6031 MB / 0.5544 GB, free: 7.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.315, allocations: 95.31 kB / 0.5545 GB, free: 7.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.3154, allocations: 297.2 kB / 0.5548 GB, free: 7.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.3154, allocations: 26.86 kB / 0.5548 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.3156, allocations: 224.1 kB / 0.555 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.3156, allocations: 55 kB / 0.5551 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.3157, allocations: 52.33 kB / 0.5551 GB, free: 7.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3159, allocations: 337.4 kB / 0.5555 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3161, allocations: 71.7 kB / 0.5555 GB, free: 6.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.3163, allocations: 166.2 kB / 0.5557 GB, free: 6.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3166, allocations: 263.3 kB / 0.5559 GB, free: 6.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3166, allocations: 3.984 kB / 0.5559 GB, free: 6.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004383/0.317, allocations: 285.1 kB / 0.5562 GB, free: 6.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.317, allocations: 6.438 kB / 0.5562 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3171, allocations: 7.828 kB / 0.5562 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3171, allocations: 5.375 kB / 0.5562 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.3173, allocations: 59.31 kB / 0.5563 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3174, allocations: 5.656 kB / 0.5563 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.3175, allocations: 18.86 kB / 0.5563 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3176, allocations: 13.12 kB / 0.5563 GB, free: 6.379 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.0001732/0.3177, allocations: 162.6 kB / 0.5565 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.3178, allocations: 33.38 kB / 0.5565 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.3182, allocations: 235.8 kB / 0.5567 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3182, allocations: 2.25 kB / 0.5567 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3182, allocations: 0.9688 kB / 0.5567 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3182, allocations: 5.016 kB / 0.5567 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.3191, allocations: 0.6024 MB / 0.5573 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3191, allocations: 3.938 kB / 0.5573 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3193, allocations: 31.98 kB / 0.5574 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3193, allocations: 4 kB / 0.5574 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3193, allocations: 4 kB / 0.5574 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3193, allocations: 4 kB / 0.5574 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3193, allocations: 3.984 kB / 0.5574 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.3199, allocations: 428.7 kB / 0.5578 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.3199, allocations: 35.78 kB / 0.5578 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.32, allocations: 0 / 0.5578 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3201, allocations: 11.98 kB / 0.5578 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.3202, allocations: 11.98 kB / 0.5579 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3202, allocations: 15.98 kB / 0.5579 GB, free: 4.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.3204, allocations: 215.1 kB / 0.5581 GB, free: 4.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3204, allocations: 0 / 0.5581 GB, free: 4.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.3208, allocations: 60 kB / 0.5581 GB, free: 4.719 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.0001026/0.3209, allocations: 99.19 kB / 0.5582 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.3212, allocations: 187.3 kB / 0.5584 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3212, allocations: 192 / 0.5584 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3213, allocations: 83.89 kB / 0.5585 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.3219, allocations: 71.44 kB / 0.5586 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3231, allocations: 0.7016 MB / 0.5592 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.3235, allocations: 0.8026 MB / 0.56 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.3236, allocations: 27.44 kB / 0.56 GB, free: 2.684 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3236, allocations: 0 / 0.56 GB, free: 2.684 MB / 398.1 MB Notification: Performance of Templates: time 0.007616/0.3312, allocations: 3.903 MB / 0.5639 GB, free: 14.79 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.365678551839665] Failed to read output from testmodel.py, exit status != 0: 0.3400332198943943 0.35508295900000003 0.044523971 Calling exit ...