Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009923/0.0009923, allocations: 86.55 kB / 16.71 MB, free: 6.637 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.001271/0.001271, allocations: 180.6 kB / 17.62 MB, free: 6.16 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.336/1.336, allocations: 223.3 MB / 241.7 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.07443/0.07443, allocations: 8.099 MB / 300.9 MB, free: 6.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005134, allocations: 15.98 kB / 364.1 MB, free: 7.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 52.51 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.00132/0.2192, allocations: 1.506 MB / 418.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2205, allocations: 1.547 MB / 419.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.2206, allocations: 4 kB / 419.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.2209, allocations: 111.6 kB / 419.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.2211, allocations: 127.3 kB / 419.9 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.2221, allocations: 0.7645 MB / 420.7 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2224, allocations: 282.6 kB / 421 MB, free: 20.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.2226, allocations: 94.11 kB / 421.1 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.2226, allocations: 107.6 kB / 421.2 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.2228, allocations: 147.3 kB / 421.3 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.2228, allocations: 12 kB / 421.3 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.223, allocations: 155.9 kB / 421.5 MB, free: 20 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.2231, allocations: 51.7 kB / 421.5 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.58e-05/0.2231, allocations: 153 kB / 421.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.2234, allocations: 301.2 kB / 422 MB, free: 19.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2234, allocations: 7.938 kB / 422 MB, free: 19.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2234, allocations: 0 / 422 MB, free: 19.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2234, allocations: 0 / 422 MB, free: 19.5 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002539/0.226, allocations: 0.9125 MB / 422.9 MB, free: 18.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.226, allocations: 11.97 kB / 422.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.2261, allocations: 32.56 kB / 422.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.2263, allocations: 271.9 kB / 423.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2263, allocations: 20.81 kB / 423.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.2263, allocations: 24.38 kB / 423.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.2268, allocations: 339.8 kB / 423.6 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2268, allocations: 4.188 kB / 423.6 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.2269, allocations: 19.94 kB / 423.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2269, allocations: 7.938 kB / 423.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.2273, allocations: 341.5 kB / 424 MB, free: 17.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2286, allocations: 1.025 MB / 425 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.229, allocations: 402.3 kB / 425.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.2293, allocations: 224.8 kB / 425.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.2293, allocations: 15.98 kB / 425.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.2294, allocations: 38.5 kB / 425.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.2294, allocations: 0 / 425.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002129/0.2315, allocations: 1.046 MB / 426.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.2315, allocations: 63.41 kB / 426.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.2317, allocations: 231 kB / 427 MB, free: 14.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.2317, allocations: 29.7 kB / 427 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.2318, allocations: 140.6 kB / 427.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.2319, allocations: 126.2 kB / 427.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.2319, allocations: 45.7 kB / 427.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.232, allocations: 334.8 kB / 427.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.2322, allocations: 236.7 kB / 427.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.2325, allocations: 243.9 kB / 428.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.2331, allocations: 0.5093 MB / 428.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2331, allocations: 3.938 kB / 428.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001114/0.2342, allocations: 0.713 MB / 429.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2343, allocations: 8 kB / 429.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2343, allocations: 4 kB / 429.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.2349, allocations: 150.5 kB / 429.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.2353, allocations: 87.88 kB / 429.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.238, allocations: 4.301 MB / 433.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.2383, allocations: 39.56 kB / 433.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.2383, allocations: 19.98 kB / 433.9 MB, free: 6.824 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 (50): * Single equations (assignments): 47 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.2384, allocations: 141.8 kB / 434.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.2385, allocations: 27.66 kB / 434.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.2396, allocations: 0.5937 MB / 434.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.2396, allocations: 4 kB / 434.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2396, allocations: 0 / 434.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2396, allocations: 3.938 kB / 434.7 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.2399, allocations: 461.1 kB / 435.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2399, allocations: 0 / 435.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.2402, allocations: 51.92 kB / 435.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/0.2407, allocations: 154.4 kB / 435.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2407, allocations: 12 kB / 435.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.2433, allocations: 4.295 MB / 439.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2434, allocations: 0 / 439.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.2443, allocations: 0.6272 MB / 440.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.2444, allocations: 116.6 kB / 440.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.2445, allocations: 4 kB / 440.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2447, allocations: 8 kB / 440.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.2448, allocations: 27.95 kB / 440.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2448, allocations: 8 kB / 440.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.2449, allocations: 160.1 kB / 440.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2449, allocations: 4 kB / 440.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004703/0.2454, allocations: 131.8 kB / 440.7 MB, free: 15.49 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 (32): * Single equations (assignments): 29 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001763/0.2456, allocations: 115.2 kB / 440.9 MB, free: 15.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.2471, allocations: 0.8772 MB / 441.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2471, allocations: 0 / 441.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.2481, allocations: 0.578 MB / 442.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.2484, allocations: 16.67 kB / 442.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.2494, allocations: 0.7206 MB / 443 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2497, allocations: 0.7572 MB / 443.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2499, allocations: 31.42 kB / 443.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2499, allocations: 0 / 443.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of Templates: time 0.009128/0.259, allocations: 7.428 MB / 451.3 MB, free: 4.824 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)