Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 113.2 kB / 17.8 MB, free: 5.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.001451, allocations: 182.1 kB / 20.74 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 246.4 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1544/0.1544, allocations: 8.088 MB / 306.7 MB, free: 2.668 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.89 kB / 423.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2178, allocations: 51.52 MB / 475.4 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002152/0.22, allocations: 1.276 MB / 476.6 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2214, allocations: 1.243 MB / 477.9 MB, free: 20.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2215, allocations: 2.219 kB / 477.9 MB, free: 20.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.2219, allocations: 117.3 kB / 478 MB, free: 20.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.2221, allocations: 48.75 kB / 478 MB, free: 20.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2232, allocations: 0.7404 MB / 478.8 MB, free: 19.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2234, allocations: 133.6 kB / 478.9 MB, free: 19.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2235, allocations: 68.91 kB / 479 MB, free: 19.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.2236, allocations: 54.88 kB / 479 MB, free: 19.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.425e-05/0.2237, allocations: 60.39 kB / 479.1 MB, free: 19.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.2237, allocations: 12.41 kB / 479.1 MB, free: 19.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.224, allocations: 150 kB / 479.3 MB, free: 19.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.224, allocations: 31.95 kB / 479.3 MB, free: 19.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.2241, allocations: 60.2 kB / 479.3 MB, free: 19.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.2244, allocations: 269.8 kB / 479.6 MB, free: 19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2245, allocations: 0 / 479.6 MB, free: 19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2245, allocations: 1.188 kB / 479.6 MB, free: 19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2245, allocations: 0 / 479.6 MB, free: 19 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00116/0.2256, allocations: 0.564 MB / 480.2 MB, free: 18.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2257, allocations: 13.42 kB / 480.2 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.2257, allocations: 16.27 kB / 480.2 MB, free: 18.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2259, allocations: 217.3 kB / 480.4 MB, free: 18.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.2259, allocations: 9.75 kB / 480.4 MB, free: 18.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.226, allocations: 12.78 kB / 480.4 MB, free: 18.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.2262, allocations: 152.1 kB / 480.6 MB, free: 18.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2262, allocations: 192 / 480.6 MB, free: 18.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2262, allocations: 9.844 kB / 480.6 MB, free: 18.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.2263, allocations: 6.531 kB / 480.6 MB, free: 18.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.2264, allocations: 115.4 kB / 480.7 MB, free: 18.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.2271, allocations: 0.5064 MB / 481.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.2278, allocations: 158.4 kB / 481.4 MB, free: 17.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.2279, allocations: 44.69 kB / 481.4 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.228, allocations: 92.94 kB / 481.5 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.2281, allocations: 31.47 kB / 481.5 MB, free: 17.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.2281, allocations: 0 / 481.5 MB, free: 17.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001062/0.2291, allocations: 347.2 kB / 481.9 MB, free: 17.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.2292, allocations: 56.44 kB / 481.9 MB, free: 17.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.2292, allocations: 140.3 kB / 482.1 MB, free: 16.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2293, allocations: 31.08 kB / 482.1 MB, free: 16.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.2293, allocations: 122.8 kB / 482.2 MB, free: 16.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2293, allocations: 32.11 kB / 482.3 MB, free: 16.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.2294, allocations: 31.2 kB / 482.3 MB, free: 16.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.2294, allocations: 316.1 kB / 482.6 MB, free: 16.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.2295, allocations: 39.42 kB / 482.6 MB, free: 16.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.2296, allocations: 60.89 kB / 482.7 MB, free: 16.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.2297, allocations: 104 kB / 482.8 MB, free: 16.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2297, allocations: 0 / 482.8 MB, free: 16.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004393/0.2302, allocations: 216.1 kB / 483 MB, free: 16.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2302, allocations: 8.844 kB / 483 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2302, allocations: 1.281 kB / 483 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.2306, allocations: 80.31 kB / 483.1 MB, free: 16.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.2307, allocations: 12.88 kB / 483.1 MB, free: 16.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.232, allocations: 1.648 MB / 484.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.2321, allocations: 10.56 kB / 484.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2321, allocations: 2.969 kB / 484.8 MB, free: 14.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.2322, allocations: 119.6 kB / 484.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.2322, allocations: 12.7 kB / 484.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.2327, allocations: 217.2 kB / 485.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2327, allocations: 1.031 kB / 485.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2327, allocations: 1.188 kB / 485.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2327, allocations: 5.172 kB / 485.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.2329, allocations: 224.8 kB / 485.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2329, allocations: 1.156 kB / 485.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.233, allocations: 17.91 kB / 485.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/0.2334, allocations: 78.31 kB / 485.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2334, allocations: 2.062 kB / 485.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.2347, allocations: 1.632 MB / 487.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2347, allocations: 1.531 kB / 487.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.2351, allocations: 272.4 kB / 487.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.2352, allocations: 95.09 kB / 487.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2352, allocations: 9.031 kB / 487.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.2353, allocations: 9.219 kB / 487.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.2353, allocations: 13.33 kB / 487.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2354, allocations: 2.188 kB / 487.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.687e-05/0.2354, allocations: 98.03 kB / 487.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2354, allocations: 0 / 487.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.2357, allocations: 49.12 kB / 487.6 MB, free: 11.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.2358, allocations: 116.1 kB / 487.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.2364, allocations: 260.4 kB / 488 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2364, allocations: 0 / 488 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.2368, allocations: 203.2 kB / 488.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.237, allocations: 7.406 kB / 488.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.2375, allocations: 322.8 kB / 488.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2376, allocations: 0.7095 MB / 489.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.2377, allocations: 16.06 kB / 489.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2377, allocations: 1.219 kB / 489.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Templates: time 0.00368/0.2413, allocations: 2.284 MB / 491.5 MB, free: 9.242 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & ./PowerSysPro_PowerSysPro.Tests.OnePerfectLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.51719936192967] Failed to read output from testmodel.py, exit status != 0: 0.24766178405843675 0.25571666800000004 0.029123497 Calling exit ...