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.00139/0.00139, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002026/0.002026, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.639/1.639, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2014/0.2014, allocations: 38.55 MB / 352.5 MB, free: 12.31 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.002048/0.002048, allocations: 75.89 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4017, allocations: 62.46 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006808/0.4085, allocations: 4.474 MB / 0.5468 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.4115, allocations: 1.412 MB / 0.5482 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.4117, allocations: 20.84 kB / 0.5482 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.4129, allocations: 372 kB / 0.5485 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006145/0.4135, allocations: 246.9 kB / 0.5488 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007932/0.4143, allocations: 255.1 kB / 0.549 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006477/0.4149, allocations: 0.5605 MB / 0.5496 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.4154, allocations: 243 kB / 0.5498 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.4158, allocations: 281 kB / 0.5501 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.4163, allocations: 314.5 kB / 0.5504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.4164, allocations: 38.66 kB / 0.5504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.4167, allocations: 154.9 kB / 0.5506 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.4169, allocations: 229 kB / 0.5508 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.4172, allocations: 207.8 kB / 0.551 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.4179, allocations: 0.6047 MB / 0.5516 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4179, allocations: 5.109 kB / 0.5516 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4179, allocations: 0 / 0.5516 GB, free: 9.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.4179, allocations: 4 kB / 0.5516 GB, free: 9.711 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.001402/0.4193, allocations: 0.7163 MB / 0.5523 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4194, allocations: 13.67 kB / 0.5523 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007708/0.4202, allocations: 123.6 kB / 0.5524 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.4209, allocations: 357.6 kB / 0.5527 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.421, allocations: 34.78 kB / 0.5528 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.4211, allocations: 56.27 kB / 0.5528 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.4221, allocations: 0.646 MB / 0.5535 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.4222, allocations: 14.02 kB / 0.5535 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.4222, allocations: 17.69 kB / 0.5535 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.4223, allocations: 29.36 kB / 0.5535 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.4232, allocations: 482.1 kB / 0.554 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/0.4269, allocations: 2.778 MB / 0.5567 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.4272, allocations: 175.1 kB / 0.5569 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.4274, allocations: 97.73 kB / 0.557 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.4275, allocations: 8 kB / 0.557 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.4275, allocations: 34.55 kB / 0.557 GB, free: 5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.375e-06/0.4275, allocations: 7.938 kB / 0.557 GB, free: 4.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001595/0.4291, allocations: 0.7761 MB / 0.5578 GB, free: 4.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.4292, allocations: 81.11 kB / 0.5578 GB, free: 4.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.4296, allocations: 361.4 kB / 0.5582 GB, free: 3.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.4296, allocations: 29.7 kB / 0.5582 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.4299, allocations: 311.8 kB / 0.5585 GB, free: 3.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.43, allocations: 75.31 kB / 0.5586 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.4301, allocations: 94.2 kB / 0.5587 GB, free: 3.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.4304, allocations: 346.8 kB / 0.559 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.4306, allocations: 124.8 kB / 0.5591 GB, free: 2.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.431, allocations: 330.8 kB / 0.5594 GB, free: 2.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.4317, allocations: 0.4931 MB / 0.5599 GB, free: 1.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4317, allocations: 0 / 0.5599 GB, free: 1.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00109/0.4328, allocations: 0.5564 MB / 0.5605 GB, free: 1.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4328, allocations: 8 kB / 0.5605 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005597/0.4334, allocations: 278.5 kB / 0.5607 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.4338, allocations: 84.72 kB / 0.5608 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.4341, allocations: 95.83 kB / 0.5609 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.4361, allocations: 1.589 MB / 0.5625 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.4364, allocations: 23.94 kB / 0.5625 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.4365, allocations: 24 kB / 0.5625 GB, free: 14.96 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.0004372/0.4369, allocations: 217.5 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.437, allocations: 31.81 kB / 0.5627 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.4375, allocations: 288.7 kB / 0.563 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4375, allocations: 4.141 kB / 0.563 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.4375, allocations: 0 / 0.563 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4375, allocations: 7.984 kB / 0.563 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.4388, allocations: 0.6774 MB / 0.5637 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4388, allocations: 0 / 0.5637 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.4391, allocations: 55.91 kB / 0.5637 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4391, allocations: 4 kB / 0.5637 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.4391, allocations: 12.06 kB / 0.5638 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4391, allocations: 3.938 kB / 0.5638 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4391, allocations: 7.984 kB / 0.5638 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.4397, allocations: 480.7 kB / 0.5642 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.4398, allocations: 39.8 kB / 0.5643 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.4399, allocations: 0 / 0.5643 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.44, allocations: 8 kB / 0.5643 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.4401, allocations: 23.91 kB / 0.5643 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.4401, allocations: 7.984 kB / 0.5643 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002948/0.4404, allocations: 235.2 kB / 0.5645 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4404, allocations: 4 kB / 0.5645 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.4409, allocations: 96 kB / 0.5646 GB, free: 12.71 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.0001501/0.441, allocations: 99.19 kB / 0.5647 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008973/0.4419, allocations: 431.8 kB / 0.5651 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4419, allocations: 0 / 0.5651 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.4421, allocations: 111.8 kB / 0.5652 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.4427, allocations: 61.28 kB / 0.5653 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.4445, allocations: 1 MB / 0.5663 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4449, allocations: 269.9 kB / 0.5665 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.4452, allocations: 107.2 kB / 0.5666 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.4453, allocations: 31.44 kB / 0.5667 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4453, allocations: 0 / 0.5667 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Templates: time 0.009783/0.455, allocations: 4.127 MB / 0.5707 GB, free: 6.465 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: 5.4368019066751] Failed to read output from testmodel.py, exit status != 0: 0.46497661992907524 0.480137487 0.05888144100000001 Calling exit ...