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.001854/0.001854, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.002015/0.002015, allocations: 164.5 kB / 23.96 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.493/1.493, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.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.1795/0.1795, allocations: 29.43 MB / 290.1 MB, free: 3.281 MB / 270.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.79e-05, allocations: 2.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005846/0.005874, allocations: 4.253 MB / 435 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.007553, allocations: 0.9077 MB / 435.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.007701, allocations: 19.81 kB / 435.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.007901, allocations: 51.5 kB / 435.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006123/0.008514, allocations: 254.6 kB / 436.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.008765, allocations: 95.73 kB / 436.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.009353, allocations: 0.506 MB / 436.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.009566, allocations: 96.28 kB / 436.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004603/0.01003, allocations: 303 kB / 437.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.01054, allocations: 255.3 kB / 437.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.0106, allocations: 24 kB / 437.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.01066, allocations: 24 kB / 437.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.01085, allocations: 159.6 kB / 437.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.01102, allocations: 123.7 kB / 437.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.01147, allocations: 358.8 kB / 438.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01148, allocations: 0 / 438.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01148, allocations: 0 / 438.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.01148, allocations: 0 / 438.1 MB, free: 10.52 MB / 366.1 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.0011/0.01258, allocations: 0.5954 MB / 438.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.01262, allocations: 11.98 kB / 438.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.53e-05/0.0127, allocations: 56.64 kB / 438.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.01327, allocations: 307.6 kB / 439.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.0133, allocations: 20.88 kB / 439.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.01335, allocations: 24.38 kB / 439.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.01391, allocations: 361 kB / 439.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01392, allocations: 0 / 439.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.01395, allocations: 12 kB / 439.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.01408, allocations: 28.41 kB / 439.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.01449, allocations: 237.7 kB / 439.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.01612, allocations: 1.231 MB / 441 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.01651, allocations: 165 kB / 441.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.01671, allocations: 93.72 kB / 441.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.01672, allocations: 0 / 441.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.01676, allocations: 42.55 kB / 441.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.01676, allocations: 0 / 441.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001353/0.01811, allocations: 0.6128 MB / 441.9 MB, free: 6.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.01818, allocations: 85.03 kB / 442 MB, free: 6.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.0185, allocations: 300.5 kB / 442.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.01853, allocations: 33.7 kB / 442.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.0187, allocations: 220 kB / 442.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.01876, allocations: 59.52 kB / 442.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.01885, allocations: 45.7 kB / 442.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.01901, allocations: 338.8 kB / 442.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.01913, allocations: 72.08 kB / 443 MB, free: 5.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.01934, allocations: 173.3 kB / 443.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.0197, allocations: 264.6 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.0197, allocations: 0 / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005502/0.02025, allocations: 318.2 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.02027, allocations: 11.94 kB / 443.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.02028, allocations: 4 kB / 443.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.0205, allocations: 48.83 kB / 443.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.02069, allocations: 47.91 kB / 443.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.02226, allocations: 1.479 MB / 445.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.02241, allocations: 15.98 kB / 445.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.02243, allocations: 8 kB / 445.4 MB, free: 2.785 MB / 366.1 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.0002128/0.02264, allocations: 177.6 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.0227, allocations: 23.86 kB / 445.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.02321, allocations: 239.3 kB / 445.8 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.02321, allocations: 4 kB / 445.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.02322, allocations: 4 kB / 445.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.02322, allocations: 96 / 445.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000917/0.02414, allocations: 0.5581 MB / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02414, allocations: 0 / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.02425, allocations: 16 kB / 446.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.02446, allocations: 72.7 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02448, allocations: 0 / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.02607, allocations: 1.475 MB / 447.9 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.02607, allocations: 4.031 kB / 447.9 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1865/0.2126, allocations: 394 kB / 448.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.2127, allocations: 32.55 kB / 448.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.2127, allocations: 7.906 kB / 448.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.2129, allocations: 5.891 kB / 448.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.2129, allocations: 17.75 kB / 448.4 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.213, allocations: 5.234 kB / 448.4 MB, free: 29.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.2132, allocations: 214.3 kB / 448.6 MB, free: 29.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2132, allocations: 0 / 448.6 MB, free: 29.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004686/0.2137, allocations: 69.22 kB / 448.6 MB, free: 29.66 MB / 366.1 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.0001465/0.2138, allocations: 96.72 kB / 448.7 MB, free: 29.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.2145, allocations: 302.7 kB / 449 MB, free: 29.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2145, allocations: 0 / 449 MB, free: 29.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.2148, allocations: 205.9 kB / 449.2 MB, free: 29.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.2154, allocations: 67.5 kB / 449.3 MB, free: 29.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.2168, allocations: 0.6647 MB / 450 MB, free: 29.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.2171, allocations: 201.7 kB / 450.2 MB, free: 28.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.2174, allocations: 46.39 kB / 450.2 MB, free: 28.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.2174, allocations: 27.84 kB / 450.2 MB, free: 28.97 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2174, allocations: 0 / 450.2 MB, free: 28.97 MB / 366.1 MB Notification: Performance of Templates: time 0.01011/0.2276, allocations: 3.011 MB / 453.3 MB, free: 28.68 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.816011942923069] Failed to read output from testmodel.py, exit status != 0: 0.23592792823910713 0.24870404999999995 0.23444036699999996 Calling exit ...