Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001586/0.001586, allocations: 112.2 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.001714/0.001714, 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.1775/0.1775, allocations: 38.52 MB / 353.2 MB, free: 12.58 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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [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.002156/0.002156, allocations: 70.86 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2907, allocations: 62.47 MB / 0.5432 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005943/0.2966, allocations: 4.746 MB / 0.5479 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.2991, allocations: 1.526 MB / 0.5494 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.2993, allocations: 20.53 kB / 0.5494 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.3004, allocations: 390 kB / 0.5497 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.3009, allocations: 238.9 kB / 0.55 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.3015, allocations: 259.7 kB / 0.5502 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.3021, allocations: 0.5571 MB / 0.5508 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.3025, allocations: 251.1 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.3029, allocations: 276.2 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.3034, allocations: 338.3 kB / 0.5516 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.3035, allocations: 34.78 kB / 0.5516 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.3038, allocations: 165.2 kB / 0.5518 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.304, allocations: 240.3 kB / 0.552 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.3043, allocations: 243 kB / 0.5522 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006833/0.305, allocations: 0.5996 MB / 0.5528 GB, free: 9.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.305, allocations: 3.984 kB / 0.5528 GB, free: 9.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.305, allocations: 5.25 kB / 0.5528 GB, free: 9.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.305, allocations: 0 / 0.5528 GB, free: 9.406 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001328/0.3063, allocations: 0.7151 MB / 0.5535 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3063, allocations: 16.83 kB / 0.5535 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/0.3071, allocations: 131.2 kB / 0.5537 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.3078, allocations: 358 kB / 0.554 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.3078, allocations: 29.38 kB / 0.554 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.3079, allocations: 52.94 kB / 0.5541 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.3089, allocations: 0.6445 MB / 0.5547 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3089, allocations: 2.312 kB / 0.5547 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.3089, allocations: 17.62 kB / 0.5547 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.309, allocations: 33.11 kB / 0.5548 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.3098, allocations: 488.3 kB / 0.5552 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.3133, allocations: 2.936 MB / 0.5581 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.3136, allocations: 173 kB / 0.5583 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3138, allocations: 101.7 kB / 0.5584 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3138, allocations: 7.984 kB / 0.5584 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3138, allocations: 30.56 kB / 0.5584 GB, free: 4.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.3138, allocations: 4 kB / 0.5584 GB, free: 4.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001362/0.3152, allocations: 0.7758 MB / 0.5592 GB, free: 3.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.3153, allocations: 89.17 kB / 0.5593 GB, free: 3.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.3156, allocations: 345.6 kB / 0.5596 GB, free: 3.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3157, allocations: 29.7 kB / 0.5596 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.3159, allocations: 311.8 kB / 0.5599 GB, free: 3.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.316, allocations: 87.25 kB / 0.56 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.3161, allocations: 82.09 kB / 0.5601 GB, free: 2.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3163, allocations: 346.8 kB / 0.5604 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3165, allocations: 128.8 kB / 0.5605 GB, free: 2.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.3169, allocations: 334.8 kB / 0.5608 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.3175, allocations: 498.1 kB / 0.5613 GB, free: 1.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3175, allocations: 4 kB / 0.5613 GB, free: 1.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001032/0.3185, allocations: 0.5587 MB / 0.5619 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3185, allocations: 12.11 kB / 0.5619 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005157/0.3191, allocations: 276.2 kB / 0.5621 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.3194, allocations: 84.77 kB / 0.5622 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.3197, allocations: 95.83 kB / 0.5623 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.3215, allocations: 1.615 MB / 0.5639 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.3218, allocations: 19.98 kB / 0.5639 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3218, allocations: 20 kB / 0.5639 GB, free: 14.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.3221, allocations: 225.6 kB / 0.5641 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.3222, allocations: 31.77 kB / 0.5642 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.3227, allocations: 295.8 kB / 0.5645 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3227, allocations: 4 kB / 0.5645 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.3227, allocations: 0 / 0.5645 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3227, allocations: 3.938 kB / 0.5645 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.3239, allocations: 0.7683 MB / 0.5652 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3239, allocations: 0 / 0.5652 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.3242, allocations: 55.91 kB / 0.5653 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3242, allocations: 4 kB / 0.5653 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3242, allocations: 8 kB / 0.5653 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3242, allocations: 0 / 0.5653 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/0.3242, allocations: 15.92 kB / 0.5653 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.3248, allocations: 472.5 kB / 0.5657 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.3249, allocations: 36.03 kB / 0.5658 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.3249, allocations: 7.938 kB / 0.5658 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3251, allocations: 11.94 kB / 0.5658 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3251, allocations: 23.95 kB / 0.5658 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3252, allocations: 11.98 kB / 0.5658 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.3254, allocations: 235.2 kB / 0.5661 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3254, allocations: 0 / 0.5661 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.3258, allocations: 92 kB / 0.5661 GB, free: 12.2 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 (24): * Single equations (assignments): 23 * 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.0001165/0.326, allocations: 103.2 kB / 0.5662 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007289/0.3267, allocations: 430.2 kB / 0.5667 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3267, allocations: 1.812 kB / 0.5667 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.3269, allocations: 115.8 kB / 0.5668 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.3273, allocations: 66.64 kB / 0.5668 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.329, allocations: 1.052 MB / 0.5679 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.3295, allocations: 0.8584 MB / 0.5687 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.645e-05/0.3296, allocations: 39.42 kB / 0.5687 GB, free: 9.465 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3296, allocations: 0 / 0.5687 GB, free: 9.465 MB / 414.1 MB Notification: Performance of Templates: time 0.008527/0.3381, allocations: 5.742 MB / 0.5743 GB, free: 3.719 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.868154048919678] Failed to read output from testmodel.py, exit status != 0: 0.34729603212326765 0.36117204 0.053063728000000004 Calling exit ...