Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) 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.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001123, allocations: 114.3 kB / 17.09 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 195 kB / 18.03 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04722/0.04722, allocations: 8.093 MB / 300 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2266, allocations: 51.51 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003079/0.2297, allocations: 2.791 MB / 417.5 MB, free: 22.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2318, allocations: 1.75 MB / 419.2 MB, free: 20.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.232, allocations: 8 kB / 419.2 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.2324, allocations: 179 kB / 419.4 MB, free: 20.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.2329, allocations: 266.3 kB / 419.7 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.2345, allocations: 1.132 MB / 420.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.235, allocations: 0.5131 MB / 421.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.2353, allocations: 158.1 kB / 421.5 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.2354, allocations: 211.2 kB / 421.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.2356, allocations: 258.8 kB / 421.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.2357, allocations: 40 kB / 422 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.2361, allocations: 259.8 kB / 422.2 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.2361, allocations: 103.6 kB / 422.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.2363, allocations: 250.7 kB / 422.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.2368, allocations: 0.6774 MB / 423.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2368, allocations: 0 / 423.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2369, allocations: 0 / 423.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2369, allocations: 0 / 423.2 MB, free: 16.83 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005435/0.2423, allocations: 1.657 MB / 424.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2424, allocations: 11.89 kB / 424.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.2425, allocations: 60.28 kB / 425 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.2428, allocations: 356 kB / 425.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2429, allocations: 33.38 kB / 425.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.2429, allocations: 52.3 kB / 425.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007432/0.2437, allocations: 0.601 MB / 426 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2437, allocations: 7.938 kB / 426 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.2438, allocations: 16 kB / 426 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2438, allocations: 11.98 kB / 426 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.2444, allocations: 0.5389 MB / 426.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.2469, allocations: 2.223 MB / 428.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.2478, allocations: 0.8809 MB / 429.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.2482, allocations: 398.5 kB / 430.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/0.2494, allocations: 1.33 MB / 431.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2495, allocations: 50.88 kB / 431.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.813e-06/0.2495, allocations: 0 / 431.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.008834/0.2583, allocations: 2.654 MB / 434.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.2584, allocations: 115.2 kB / 434.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.2586, allocations: 341.3 kB / 434.6 MB, free: 4.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.2587, allocations: 41.7 kB / 434.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.2588, allocations: 201 kB / 434.8 MB, free: 4.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.2589, allocations: 185.3 kB / 435 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2591, allocations: 142.6 kB / 435.1 MB, free: 4.418 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.2592, allocations: 354.7 kB / 435.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.2597, allocations: 409.9 kB / 435.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.2602, allocations: 0.505 MB / 436.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2613, allocations: 0.9415 MB / 437.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2613, allocations: 0 / 437.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004209/0.2655, allocations: 1.781 MB / 439.1 MB, free: 368 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2655, allocations: 8 kB / 439.1 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2656, allocations: 0 / 439.1 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004604/0.2702, allocations: 1.097 MB / 440.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.2707, allocations: 119.8 kB / 440.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009085/0.2798, allocations: 5.235 MB / 445.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006112/0.2804, allocations: 71.22 kB / 445.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.2805, allocations: 31.98 kB / 445.6 MB, free: 9.66 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002701/0.2808, allocations: 185.7 kB / 445.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2809, allocations: 47.44 kB / 445.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.2855, allocations: 1.616 MB / 447.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.2855, allocations: 4 kB / 447.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.2855, allocations: 8 kB / 447.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2855, allocations: 7.969 kB / 447.5 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.2863, allocations: 0.6659 MB / 448.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2863, allocations: 0 / 448.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.2865, allocations: 63.91 kB / 448.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004406/0.2909, allocations: 1.025 MB / 449.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.291, allocations: 15.94 kB / 449.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00927/0.3003, allocations: 5.202 MB / 454.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3003, allocations: 0 / 454.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.3049, allocations: 1.627 MB / 456.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.3051, allocations: 128.5 kB / 456.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/0.3052, allocations: 8 kB / 456.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.3056, allocations: 24.36 kB / 456.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.3058, allocations: 44.5 kB / 456.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.3059, allocations: 27.92 kB / 456.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.3061, allocations: 227.1 kB / 456.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3061, allocations: 7.875 kB / 456.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008483/0.307, allocations: 235.9 kB / 456.8 MB, free: 14.26 MB / 334.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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002678/0.3072, allocations: 135.2 kB / 456.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.3108, allocations: 1.329 MB / 458.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.3108, allocations: 4 kB / 458.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.3129, allocations: 0.819 MB / 459.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3134, allocations: 40.09 kB / 459.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3153, allocations: 0.9255 MB / 460 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.3158, allocations: 0.8332 MB / 460.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.316, allocations: 55.25 kB / 460.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3162, allocations: 35.44 kB / 461 MB, free: 10 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3162, allocations: 4 kB / 461 MB, free: 10 MB / 334.1 MB Notification: Performance of Templates: time 0.02114/0.3373, allocations: 13.29 MB / 474.3 MB, free: 12.73 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)