Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0006771/0.0006771, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009279/0.001605, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001061/0.001061, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002424, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9044/0.9044, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07588/0.9802, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.1113/0.1113, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1186/0.2298, allocations: 9.526 MB / 283.1 MB, free: 12.83 MB / 282.7 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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.444e-06/8.305e-06, allocations: 2.969 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.003395/0.003403, allocations: 4.082 MB / 288.5 MB, free: 8.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004518, allocations: 0.9543 MB / 289.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.004641, allocations: 15.88 kB / 289.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.865e-05/0.004739, allocations: 57.58 kB / 289.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.00507, allocations: 251.7 kB / 289.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.005239, allocations: 103.4 kB / 289.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.005601, allocations: 0.5007 MB / 290.4 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.005736, allocations: 106.5 kB / 290.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.006129, allocations: 351.6 kB / 290.8 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.006381, allocations: 218.3 kB / 291 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.006414, allocations: 21.59 kB / 291.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.006464, allocations: 22.75 kB / 291.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.006571, allocations: 137.1 kB / 291.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.006659, allocations: 98.62 kB / 291.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.00688, allocations: 245.2 kB / 291.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.006889, allocations: 1.375 kB / 291.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00689, allocations: 0 / 291.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.006899, allocations: 0 / 291.6 MB, free: 6.699 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006154/0.007515, allocations: 0.6153 MB / 292.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.466e-05/0.00754, allocations: 9.219 kB / 292.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.007604, allocations: 42.66 kB / 292.2 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.007892, allocations: 294 kB / 292.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.007908, allocations: 22.66 kB / 292.5 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.007942, allocations: 24.81 kB / 292.6 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.008407, allocations: 252.2 kB / 292.8 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.008416, allocations: 5.156 kB / 292.8 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.008433, allocations: 10.47 kB / 292.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.859e-05/0.008491, allocations: 12.75 kB / 292.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.008607, allocations: 95.14 kB / 292.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.009364, allocations: 1.03 MB / 294 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.009533, allocations: 157.2 kB / 294.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.009596, allocations: 44.86 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.009606, allocations: 8.719 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.009625, allocations: 43 kB / 294.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.009626, allocations: 0 / 294.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003646/0.009991, allocations: 188.3 kB / 294.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.01002, allocations: 79.39 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01015, allocations: 264.2 kB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.01016, allocations: 29.7 kB / 294.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.01024, allocations: 200.5 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.01026, allocations: 51.58 kB / 295 MB, free: 3.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.01031, allocations: 45.92 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.01038, allocations: 346.7 kB / 295.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.01041, allocations: 23.28 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.01048, allocations: 108.9 kB / 295.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.0106, allocations: 175.9 kB / 295.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.0106, allocations: 4 kB / 295.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001866/0.01079, allocations: 179.7 kB / 295.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.0108, allocations: 8 kB / 295.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01081, allocations: 4 kB / 295.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.01092, allocations: 27.66 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.01102, allocations: 55.86 kB / 296 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005927/0.01162, allocations: 1.218 MB / 297.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.0117, allocations: 23.84 kB / 297.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.01171, allocations: 7.984 kB / 297.2 MB, free: 1.457 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 26 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.41e-05/0.01179, allocations: 136.5 kB / 297.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.01182, allocations: 19.92 kB / 297.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.01197, allocations: 131.2 kB / 297.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01197, allocations: 4.125 kB / 297.5 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01197, allocations: 4 kB / 297.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01198, allocations: 3.984 kB / 297.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.01231, allocations: 392.5 kB / 297.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01231, allocations: 0 / 297.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.01236, allocations: 27.92 kB / 297.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.01238, allocations: 19.86 kB / 297.9 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.01248, allocations: 43.59 kB / 298 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01249, allocations: 7.984 kB / 298 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005669/0.01306, allocations: 1.224 MB / 299.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01306, allocations: 0 / 299.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.01327, allocations: 301.6 kB / 299.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01329, allocations: 16.08 kB / 299.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.01335, allocations: 4 kB / 299.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.01337, allocations: 11.98 kB / 299.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.01338, allocations: 0 / 299.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.632e-05/0.01344, allocations: 100.6 kB / 299.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01344, allocations: 0 / 299.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.01365, allocations: 83.84 kB / 299.7 MB, free: 14.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.847e-05/0.01373, allocations: 72.42 kB / 299.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.01396, allocations: 225.7 kB / 300 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/0.01396, allocations: 4 kB / 300 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.01438, allocations: 175.4 kB / 300.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.01475, allocations: 0.5054 MB / 300.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.0188, allocations: 0.6283 MB / 301.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.958e-05/0.01887, allocations: 120.3 kB / 301.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.647e-05/0.01894, allocations: 30.97 kB / 301.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.01905, allocations: 99.33 kB / 301.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01905, allocations: 4 kB / 301.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of Templates: time 0.004753/0.02381, allocations: 3.304 MB / 304.9 MB, free: 9.512 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.555962829850614]