Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001896/0.001896, 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.00206/0.00206, 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.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.1739/0.1739, allocations: 38.53 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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [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.001959/0.001959, allocations: 75.88 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3106, allocations: 62.46 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006316/0.317, allocations: 4.721 MB / 0.5478 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.32, allocations: 1.621 MB / 0.5494 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.3202, allocations: 19.91 kB / 0.5494 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.3212, allocations: 306 kB / 0.5497 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.3219, allocations: 266.5 kB / 0.55 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.3227, allocations: 260.3 kB / 0.5502 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007847/0.3234, allocations: 0.6141 MB / 0.5508 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.3238, allocations: 213.7 kB / 0.551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004597/0.3243, allocations: 289.4 kB / 0.5513 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.3249, allocations: 352.2 kB / 0.5516 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.3249, allocations: 33.78 kB / 0.5517 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.3253, allocations: 159.4 kB / 0.5518 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.3255, allocations: 228.5 kB / 0.552 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.3258, allocations: 249.4 kB / 0.5523 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007964/0.3266, allocations: 0.6093 MB / 0.5529 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3266, allocations: 0 / 0.5529 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3266, allocations: 0 / 0.5529 GB, free: 9.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.3266, allocations: 1.406 kB / 0.5529 GB, free: 9.336 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00144/0.328, allocations: 0.704 MB / 0.5536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3281, allocations: 17.77 kB / 0.5536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007433/0.3288, allocations: 130.1 kB / 0.5537 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.3295, allocations: 357.2 kB / 0.5541 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.3295, allocations: 27.5 kB / 0.5541 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3297, allocations: 55.5 kB / 0.5541 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.3307, allocations: 0.6584 MB / 0.5548 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.3307, allocations: 1.188 kB / 0.5548 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.3307, allocations: 21.94 kB / 0.5548 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/0.3309, allocations: 47.62 kB / 0.5548 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.3318, allocations: 496.2 kB / 0.5553 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.3353, allocations: 3.076 MB / 0.5583 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.3357, allocations: 233.3 kB / 0.5585 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.3359, allocations: 117.7 kB / 0.5587 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3359, allocations: 3.938 kB / 0.5587 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.336, allocations: 42.5 kB / 0.5587 GB, free: 4.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.534e-06/0.336, allocations: 0 / 0.5587 GB, free: 4.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001513/0.3375, allocations: 0.8366 MB / 0.5595 GB, free: 3.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.3376, allocations: 81.11 kB / 0.5596 GB, free: 3.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.3379, allocations: 332.4 kB / 0.5599 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3379, allocations: 33.7 kB / 0.5599 GB, free: 2.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.3381, allocations: 295.9 kB / 0.5602 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.605e-05/0.3382, allocations: 95.2 kB / 0.5603 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3383, allocations: 94.19 kB / 0.5604 GB, free: 2.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3385, allocations: 346.8 kB / 0.5607 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.3387, allocations: 132.8 kB / 0.5609 GB, free: 1.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.3391, allocations: 325.1 kB / 0.5612 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.3397, allocations: 0.4925 MB / 0.5617 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3397, allocations: 0 / 0.5617 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001114/0.3408, allocations: 0.5887 MB / 0.5622 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3408, allocations: 8.125 kB / 0.5622 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006226/0.3415, allocations: 329.7 kB / 0.5625 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.3419, allocations: 117.6 kB / 0.5627 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.3422, allocations: 87.83 kB / 0.5627 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.3452, allocations: 3.079 MB / 0.5658 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.3455, allocations: 12 kB / 0.5658 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3455, allocations: 32.05 kB / 0.5658 GB, free: 12.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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.000282/0.3458, allocations: 209.6 kB / 0.566 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.3458, allocations: 31.81 kB / 0.566 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.3464, allocations: 321 kB / 0.5663 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3464, allocations: 4 kB / 0.5663 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3464, allocations: 3.938 kB / 0.5663 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3464, allocations: 4 kB / 0.5663 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3476, allocations: 0.7684 MB / 0.5671 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3476, allocations: 0 / 0.5671 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.3479, allocations: 63.89 kB / 0.5672 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3479, allocations: 3.938 kB / 0.5672 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.348, allocations: 8 kB / 0.5672 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.348, allocations: 8.062 kB / 0.5672 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.348, allocations: 3.938 kB / 0.5672 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.3486, allocations: 0.5022 MB / 0.5677 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.3488, allocations: 55.66 kB / 0.5677 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.3488, allocations: 8 kB / 0.5677 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.349, allocations: 15.98 kB / 0.5677 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.349, allocations: 27.83 kB / 0.5678 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.349, allocations: 11.94 kB / 0.5678 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002637/0.3493, allocations: 223 kB / 0.568 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3493, allocations: 0 / 0.568 GB, free: 10.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.3498, allocations: 96 kB / 0.5681 GB, free: 10.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0001234/0.3499, allocations: 107.1 kB / 0.5682 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009637/0.3509, allocations: 0.5647 MB / 0.5687 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3509, allocations: 0.5 kB / 0.5687 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.3511, allocations: 126.1 kB / 0.5689 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.3516, allocations: 72.08 kB / 0.5689 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3533, allocations: 1.054 MB / 0.57 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.3539, allocations: 0.8699 MB / 0.5708 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.354, allocations: 31.44 kB / 0.5708 GB, free: 7.109 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.354, allocations: 0 / 0.5708 GB, free: 7.109 MB / 414.1 MB Notification: Performance of Templates: time 0.01008/0.364, allocations: 6.621 MB / 0.5773 GB, free: 496 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.108898408012465] Failed to read output from testmodel.py, exit status != 0: 0.37319426890462637 0.38819980400000004 0.058288689000000005 Calling exit ...