Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.00152/0.00152, allocations: 110.8 kB / 17.84 MB, free: 5.242 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.001722/0.001722, allocations: 187.7 kB / 20.79 MB, free: 2.305 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.606/1.606, allocations: 225.6 MB / 249.2 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.05012/0.05012, allocations: 8.231 MB / 312.3 MB, free: 2.066 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.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.89 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2256, allocations: 54.36 MB / 489.5 MB, free: 27.61 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002332/0.228, allocations: 1.778 MB / 491.3 MB, free: 26.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2295, allocations: 1.594 MB / 492.9 MB, free: 24.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.2296, allocations: 4.781 kB / 492.9 MB, free: 24.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.23, allocations: 136.4 kB / 493 MB, free: 24.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.2303, allocations: 150.6 kB / 493.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.2318, allocations: 1.072 MB / 494.2 MB, free: 23.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.2321, allocations: 279.4 kB / 494.5 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2322, allocations: 63.56 kB / 494.6 MB, free: 23.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.2323, allocations: 111.8 kB / 494.7 MB, free: 23.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.2324, allocations: 139.5 kB / 494.8 MB, free: 23.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.2325, allocations: 20.5 kB / 494.8 MB, free: 23.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.2328, allocations: 247.1 kB / 495.1 MB, free: 23.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.2329, allocations: 60.92 kB / 495.1 MB, free: 23.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.233, allocations: 138.8 kB / 495.3 MB, free: 23.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.2334, allocations: 461.3 kB / 495.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2334, allocations: 1.406 kB / 495.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2334, allocations: 0 / 495.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2334, allocations: 0 / 495.7 MB, free: 23.03 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003823/0.2373, allocations: 1.12 MB / 496.8 MB, free: 22.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2373, allocations: 13.36 kB / 496.8 MB, free: 22.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.2374, allocations: 32.16 kB / 496.9 MB, free: 22.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.2376, allocations: 269.5 kB / 497.1 MB, free: 21.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2376, allocations: 17.75 kB / 497.1 MB, free: 21.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.2377, allocations: 24.41 kB / 497.2 MB, free: 21.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.2382, allocations: 345.2 kB / 497.5 MB, free: 21.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2382, allocations: 9.578 kB / 497.5 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.2382, allocations: 9.25 kB / 497.5 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2383, allocations: 4.781 kB / 497.5 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.2387, allocations: 297.8 kB / 497.8 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.2401, allocations: 1.347 MB / 499.2 MB, free: 20.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/0.2409, allocations: 345 kB / 499.5 MB, free: 20.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.2411, allocations: 160.1 kB / 499.7 MB, free: 19.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.2417, allocations: 0.6926 MB / 0.4886 GB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2417, allocations: 37.48 kB / 0.4887 GB, free: 19.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.2417, allocations: 0 / 0.4887 GB, free: 19.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003492/0.2452, allocations: 1.123 MB / 0.4898 GB, free: 18.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2453, allocations: 106.1 kB / 0.4899 GB, free: 18.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.2455, allocations: 232.1 kB / 0.4901 GB, free: 18.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2455, allocations: 32.61 kB / 0.4901 GB, free: 18.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.2455, allocations: 150.9 kB / 0.4903 GB, free: 18.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.2456, allocations: 102.6 kB / 0.4904 GB, free: 18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.2457, allocations: 91.52 kB / 0.4904 GB, free: 17.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.2458, allocations: 331.4 kB / 0.4908 GB, free: 17.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.2461, allocations: 193.2 kB / 0.4909 GB, free: 17.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.2464, allocations: 265 kB / 0.4912 GB, free: 17.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.247, allocations: 468.2 kB / 0.4916 GB, free: 17.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.247, allocations: 13.5 kB / 0.4917 GB, free: 17.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001975/0.2489, allocations: 0.8121 MB / 0.4925 GB, free: 16.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2489, allocations: 9.453 kB / 0.4925 GB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.249, allocations: 2.562 kB / 0.4925 GB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.251, allocations: 413.5 kB / 0.4929 GB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.2512, allocations: 74.17 kB / 0.4929 GB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004006/0.2552, allocations: 4.018 MB / 0.4969 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.2556, allocations: 41.59 kB / 0.4969 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.2556, allocations: 15.19 kB / 0.4969 GB, free: 12.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.2558, allocations: 158.7 kB / 0.4971 GB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.2558, allocations: 23.95 kB / 0.4971 GB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.2578, allocations: 0.7283 MB / 0.4978 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.2578, allocations: 3.938 kB / 0.4978 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2578, allocations: 1.719 kB / 0.4978 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2578, allocations: 5.016 kB / 0.4978 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.2581, allocations: 403.9 kB / 0.4982 GB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2582, allocations: 5.344 kB / 0.4982 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.2583, allocations: 51.16 kB / 0.4982 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.2602, allocations: 403.7 kB / 0.4986 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.2602, allocations: 6.625 kB / 0.4986 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.2641, allocations: 4.017 MB / 0.5026 GB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2641, allocations: 0 / 0.5026 GB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.266, allocations: 0.7633 MB / 0.5033 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.266, allocations: 112.7 kB / 0.5034 GB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2661, allocations: 6.781 kB / 0.5034 GB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.2663, allocations: 18.17 kB / 0.5034 GB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.2664, allocations: 32.83 kB / 0.5035 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.2664, allocations: 9.844 kB / 0.5035 GB, free: 7.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.2665, allocations: 161.5 kB / 0.5036 GB, free: 7.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2665, allocations: 0 / 0.5036 GB, free: 7.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005381/0.2671, allocations: 128.2 kB / 0.5037 GB, free: 6.988 MB / 366.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.2672, allocations: 122.7 kB / 0.5039 GB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.2687, allocations: 0.7208 MB / 0.5046 GB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2687, allocations: 0 / 0.5046 GB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009556/0.2696, allocations: 0.5005 MB / 0.5051 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2699, allocations: 21.47 kB / 0.5051 GB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.2709, allocations: 0.5782 MB / 0.5056 GB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.271, allocations: 0.76 MB / 0.5064 GB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.2711, allocations: 36.38 kB / 0.5064 GB, free: 4.863 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2711, allocations: 0 / 0.5064 GB, free: 4.863 MB / 366.1 MB Notification: Performance of Templates: time 0.007506/0.2786, allocations: 6.424 MB / 0.5127 GB, free: 15.66 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.555294971913099] Failed to read output from testmodel.py, exit status != 0: 0.28678746498189867 0.29958497300000003 0.063317102 Calling exit ...