Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 113.3 kB / 17.08 MB, free: 6.004 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.001893/0.001893, allocations: 196 kB / 18.02 MB, free: 5.078 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04818/0.04818, allocations: 8.09 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.91 kB / 363.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2128, allocations: 51.51 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002957/0.2158, allocations: 2.243 MB / 416.9 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.2179, allocations: 1.668 MB / 418.6 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.218, allocations: 8 kB / 418.6 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.2183, allocations: 151.1 kB / 418.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.2187, allocations: 194.7 kB / 418.9 MB, free: 21.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.2201, allocations: 0.9674 MB / 419.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.2205, allocations: 421.9 kB / 420.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2207, allocations: 135.2 kB / 420.5 MB, free: 19.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2208, allocations: 163.4 kB / 420.6 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.221, allocations: 231 kB / 420.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.221, allocations: 32 kB / 420.9 MB, free: 19.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.2214, allocations: 223.8 kB / 421.1 MB, free: 19.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.2215, allocations: 79.69 kB / 421.2 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2216, allocations: 203 kB / 421.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.222, allocations: 0.5469 MB / 421.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.222, allocations: 0 / 421.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.222, allocations: 0 / 421.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2221, allocations: 0 / 421.9 MB, free: 18.2 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003222/0.2253, allocations: 1.142 MB / 423.1 MB, free: 17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.155e-05/0.2253, allocations: 15.89 kB / 423.1 MB, free: 16.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.2254, allocations: 40.47 kB / 423.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.2257, allocations: 335.5 kB / 423.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2257, allocations: 20.94 kB / 423.5 MB, free: 16.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.2258, allocations: 32.38 kB / 423.5 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.2263, allocations: 413.3 kB / 423.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.2263, allocations: 192 / 423.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.2263, allocations: 19.94 kB / 423.9 MB, free: 16.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2263, allocations: 11.94 kB / 423.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.2268, allocations: 410.1 kB / 424.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.2286, allocations: 1.542 MB / 425.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009503/0.2296, allocations: 0.5529 MB / 426.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.2299, allocations: 281.5 kB / 426.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/0.23, allocations: 12.38 kB / 426.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.23, allocations: 38.94 kB / 426.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.663e-06/0.23, allocations: 0 / 426.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.004085/0.2341, allocations: 1.65 MB / 428.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.666e-05/0.2341, allocations: 55.41 kB / 428.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2343, allocations: 270.6 kB / 428.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.2344, allocations: 37.7 kB / 428.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.2345, allocations: 161 kB / 428.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.2345, allocations: 161.6 kB / 429.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.2347, allocations: 94.23 kB / 429.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.2347, allocations: 354.8 kB / 429.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.2351, allocations: 261 kB / 429.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.2354, allocations: 273 kB / 430 MB, free: 9.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.236, allocations: 0.5819 MB / 430.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2361, allocations: 4 kB / 430.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001988/0.2381, allocations: 1.024 MB / 431.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2381, allocations: 4 kB / 431.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2381, allocations: 3.984 kB / 431.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.2397, allocations: 426.1 kB / 432.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.24, allocations: 71.89 kB / 432.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005102/0.2451, allocations: 6.109 MB / 438.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.2455, allocations: 43.53 kB / 438.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.2455, allocations: 15.98 kB / 438.3 MB, free: 1.004 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.2457, allocations: 165.8 kB / 438.5 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.2458, allocations: 35.56 kB / 438.5 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.248, allocations: 0.9898 MB / 439.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.248, allocations: 8 kB / 439.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.248, allocations: 4 kB / 439.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.248, allocations: 7.984 kB / 439.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.2486, allocations: 0.5636 MB / 440.1 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2486, allocations: 0 / 440.1 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.2488, allocations: 55.91 kB / 440.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.2506, allocations: 422.1 kB / 440.5 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2507, allocations: 12 kB / 440.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/0.2569, allocations: 6.034 MB / 446.6 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2569, allocations: 3.938 kB / 446.6 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.2591, allocations: 1.017 MB / 447.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.2592, allocations: 116.5 kB / 447.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.2593, allocations: 11.94 kB / 447.7 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.2597, allocations: 27.97 kB / 447.8 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2598, allocations: 44.39 kB / 447.8 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.2598, allocations: 19.98 kB / 447.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.2601, allocations: 194 kB / 448 MB, free: 6.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2601, allocations: 0 / 448 MB, free: 6.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005933/0.2607, allocations: 167.9 kB / 448.2 MB, free: 6.566 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 (37): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.2609, allocations: 135.1 kB / 448.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.2627, allocations: 1.091 MB / 449.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2628, allocations: 0 / 449.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2641, allocations: 0.7756 MB / 450.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.2645, allocations: 51.06 kB / 450.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2657, allocations: 0.7298 MB / 450.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.266, allocations: 0.8012 MB / 451.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.2662, allocations: 50.98 kB / 451.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.2663, allocations: 35.42 kB / 451.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2663, allocations: 4 kB / 451.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of Templates: time 0.01581/0.2821, allocations: 10.83 MB / 462.7 MB, free: 8 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)