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.001374/0.001374, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.004804/0.004804, allocations: 166.2 kB / 24.82 MB, free: 9.266 MB / 18.57 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.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.256/0.256, allocations: 29.42 MB / 291.2 MB, free: 2.461 MB / 266.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 1.793e-06/1.793e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.391e-05, allocations: 5.266 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004165/0.004189, allocations: 3.967 MB / 374.1 MB, free: 6.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.005578, allocations: 0.9311 MB / 375 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.00579, allocations: 19.81 kB / 375 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.005976, allocations: 59.48 kB / 375.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005703/0.006546, allocations: 242.7 kB / 375.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.006795, allocations: 103.7 kB / 375.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.007336, allocations: 0.506 MB / 375.9 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.007517, allocations: 92.28 kB / 376 MB, free: 4.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.008063, allocations: 339.1 kB / 376.3 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.00835, allocations: 235.4 kB / 376.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.008387, allocations: 20 kB / 376.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.00843, allocations: 24 kB / 376.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.008548, allocations: 159.5 kB / 376.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.169e-05/0.008639, allocations: 115.8 kB / 376.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.008911, allocations: 267 kB / 377.2 MB, free: 3.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.008915, allocations: 0 / 377.2 MB, free: 3.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008916, allocations: 0 / 377.2 MB, free: 3.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.008922, allocations: 0 / 377.2 MB, free: 3.648 MB / 346.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.001029/0.009951, allocations: 0.6758 MB / 377.8 MB, free: 2.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.009992, allocations: 11.98 kB / 377.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.01006, allocations: 56.7 kB / 377.9 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.01035, allocations: 301.9 kB / 378.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.01037, allocations: 16.88 kB / 378.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.01041, allocations: 32.31 kB / 378.2 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.01066, allocations: 267.6 kB / 378.5 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.01067, allocations: 0 / 378.5 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.01069, allocations: 12 kB / 378.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.707e-05/0.01077, allocations: 12.5 kB / 378.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.01089, allocations: 91.3 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01197, allocations: 1.429 MB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.01218, allocations: 130 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.01227, allocations: 51.66 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.01229, allocations: 15.98 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.01232, allocations: 33.39 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.01232, allocations: 4 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007015/0.01302, allocations: 376.2 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.01307, allocations: 85.09 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.01325, allocations: 330.1 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.01327, allocations: 29.7 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.01338, allocations: 274.8 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.01342, allocations: 63.5 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.01348, allocations: 55.3 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01362, allocations: 0.5157 MB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.01365, allocations: 19.98 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.01375, allocations: 171.2 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.01391, allocations: 210.7 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01391, allocations: 0 / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002466/0.01416, allocations: 228.7 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01417, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01418, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.0143, allocations: 31.61 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.01439, allocations: 52.34 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009187/0.01531, allocations: 1.74 MB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.01539, allocations: 8 kB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.0154, allocations: 8 kB / 384.4 MB, free: 11.79 MB / 362.7 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 (28): * Single equations (assignments): 27 * 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 0.0003844/0.01579, allocations: 176.6 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.01582, allocations: 39.69 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.016, allocations: 155.1 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01601, allocations: 0 / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01601, allocations: 0 / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01601, allocations: 4 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.01642, allocations: 461.3 kB / 385.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.01643, allocations: 8 kB / 385.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.01648, allocations: 23.92 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.01659, allocations: 51.61 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01661, allocations: 0 / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007196/0.01732, allocations: 1.744 MB / 387.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01733, allocations: 4.125 kB / 387.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.01761, allocations: 347 kB / 387.4 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.01764, allocations: 27.81 kB / 387.4 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.01766, allocations: 3.984 kB / 387.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.01772, allocations: 8 kB / 387.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.01774, allocations: 7.984 kB / 387.5 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.01775, allocations: 7.984 kB / 387.5 MB, free: 8.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.01785, allocations: 211 kB / 387.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01785, allocations: 0 / 387.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.0181, allocations: 68 kB / 387.7 MB, free: 8.266 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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 0.0001062/0.01821, allocations: 107.2 kB / 387.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.0185, allocations: 284 kB / 388.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0185, allocations: 0.875 kB / 388.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.01868, allocations: 245.4 kB / 388.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.01899, allocations: 75.44 kB / 388.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.02006, allocations: 0.6384 MB / 389.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.532e-05/0.02013, allocations: 120.3 kB / 389.2 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.163e-05/0.02022, allocations: 30.97 kB / 389.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.02035, allocations: 122.2 kB / 389.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of SimCode: time 1.402e-06/0.02035, allocations: 4 kB / 389.4 MB, free: 6.555 MB / 362.7 MB Notification: Performance of Templates: time 0.005953/0.0263, allocations: 3.247 MB / 392.6 MB, free: 3.367 MB / 362.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: 3.0454016691073775]