Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 95.17 kB / 16.71 MB, free: 6.145 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.0008443/0.0008443, allocations: 180.1 kB / 17.62 MB, free: 5.855 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.346/1.346, allocations: 223.3 MB / 241.7 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04142/0.04142, allocations: 8.102 MB / 300.9 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 11.98 kB / 364.2 MB, free: 7.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 52.51 MB / 416.7 MB, free: 24.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.001993/0.2191, allocations: 2.321 MB / 419 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2208, allocations: 1.609 MB / 420.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2209, allocations: 11.94 kB / 420.6 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.2213, allocations: 143.4 kB / 420.7 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.2216, allocations: 194.9 kB / 420.9 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.2233, allocations: 1.167 MB / 422.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.2237, allocations: 437.9 kB / 422.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.2239, allocations: 135.5 kB / 422.7 MB, free: 18.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.224, allocations: 167.3 kB / 422.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.2242, allocations: 211 kB / 423 MB, free: 18.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.2242, allocations: 20 kB / 423.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.2246, allocations: 251.7 kB / 423.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.2247, allocations: 75.62 kB / 423.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2248, allocations: 228.6 kB / 423.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.2252, allocations: 454.8 kB / 424 MB, free: 17.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2252, allocations: 0 / 424 MB, free: 17.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2253, allocations: 0 / 424 MB, free: 17.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2253, allocations: 4 kB / 424 MB, free: 17.39 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004628/0.2299, allocations: 1.341 MB / 425.4 MB, free: 16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.23, allocations: 8.031 kB / 425.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2301, allocations: 48.38 kB / 425.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.2304, allocations: 335.5 kB / 425.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2304, allocations: 33.03 kB / 425.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.2305, allocations: 40.38 kB / 425.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007622/0.2313, allocations: 0.5101 MB / 426.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.2313, allocations: 192 / 426.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.2314, allocations: 15.94 kB / 426.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2314, allocations: 8 kB / 426.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005968/0.232, allocations: 458.4 kB / 426.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.2343, allocations: 2.118 MB / 428.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007845/0.2351, allocations: 0.5854 MB / 429.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.2354, allocations: 268.8 kB / 429.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-05/0.2355, allocations: 15.98 kB / 429.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2355, allocations: 42.5 kB / 429.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.2355, allocations: 0 / 429.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.007303/0.2428, allocations: 1.923 MB / 431.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.2429, allocations: 110.8 kB / 431.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.2432, allocations: 274.9 kB / 432.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.2432, allocations: 37.7 kB / 432.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.2433, allocations: 180.6 kB / 432.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.213e-05/0.2434, allocations: 149.8 kB / 432.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.2435, allocations: 57.67 kB / 432.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.2436, allocations: 338.8 kB / 432.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.2439, allocations: 285 kB / 433.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.2443, allocations: 336.6 kB / 433.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.2451, allocations: 0.6256 MB / 434.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2451, allocations: 3.938 kB / 434.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00321/0.2483, allocations: 1.244 MB / 435.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2483, allocations: 7.938 kB / 435.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2484, allocations: 4 kB / 435.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003583/0.252, allocations: 0.7773 MB / 436.2 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.2523, allocations: 91.83 kB / 436.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/0.2584, allocations: 3.679 MB / 439.9 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.2589, allocations: 51.38 kB / 440 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.259, allocations: 19.98 kB / 440 MB, free: 0.8281 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.2592, allocations: 161.8 kB / 440.2 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.2592, allocations: 35.62 kB / 440.2 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.2626, allocations: 1.175 MB / 441.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.2626, allocations: 4 kB / 441.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.2627, allocations: 7.938 kB / 441.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2627, allocations: 3.938 kB / 441.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/0.2666, allocations: 1.755 MB / 443.1 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2666, allocations: 0 / 443.1 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.2669, allocations: 59.91 kB / 443.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003583/0.2705, allocations: 0.7499 MB / 443.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.2705, allocations: 12 kB / 444 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006692/0.2772, allocations: 3.635 MB / 447.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2773, allocations: 0 / 447.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/0.2806, allocations: 1.179 MB / 448.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2808, allocations: 124.5 kB / 448.9 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.2808, allocations: 15.88 kB / 448.9 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.2812, allocations: 27.98 kB / 448.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.2813, allocations: 44.31 kB / 449 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.2814, allocations: 16 kB / 449 MB, free: 7.566 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.2816, allocations: 186 kB / 449.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2816, allocations: 0 / 449.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006316/0.2822, allocations: 191.8 kB / 449.4 MB, free: 7.199 MB / 318.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 (35): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.2824, allocations: 128.5 kB / 449.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.2848, allocations: 1.008 MB / 450.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.2848, allocations: 4 kB / 450.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.2865, allocations: 0.6337 MB / 451.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.2869, allocations: 40.81 kB / 451.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.2884, allocations: 1.003 MB / 452.2 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.2888, allocations: 0.8132 MB / 453 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2889, allocations: 39.42 kB / 453 MB, free: 3.438 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2889, allocations: 0 / 453 MB, free: 3.438 MB / 318.1 MB Notification: Performance of Templates: time 0.01096/0.2999, allocations: 7.886 MB / 460.9 MB, free: 11.57 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)