Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 107.5 kB / 17.07 MB, free: 5.68 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.001677/0.001676, allocations: 196 kB / 18.01 MB, free: 5.02 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.411/1.411, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04983/0.04983, allocations: 8.101 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 64.08 kB / 363.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.223, allocations: 51.53 MB / 414.7 MB, free: 25.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002077/0.2251, allocations: 1.143 MB / 415.8 MB, free: 24.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2263, allocations: 1.454 MB / 417.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.2264, allocations: 4 kB / 417.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.2266, allocations: 99.48 kB / 417.4 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.2268, allocations: 67.59 kB / 417.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009526/0.2278, allocations: 0.7507 MB / 418.2 MB, free: 21.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.2279, allocations: 139.3 kB / 418.3 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.2281, allocations: 45.09 kB / 418.4 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.2281, allocations: 55.78 kB / 418.4 MB, free: 21.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2282, allocations: 79.67 kB / 418.5 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.2282, allocations: 12 kB / 418.5 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.2285, allocations: 151.9 kB / 418.7 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.2285, allocations: 35.78 kB / 418.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.2285, allocations: 59.73 kB / 418.8 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.2288, allocations: 261 kB / 419 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2288, allocations: 3.984 kB / 419 MB, free: 21.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2288, allocations: 4 kB / 419 MB, free: 21.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2288, allocations: 0 / 419 MB, free: 21.04 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001311/0.2302, allocations: 0.5927 MB / 419.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2302, allocations: 15.89 kB / 419.6 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.2303, allocations: 20.75 kB / 419.7 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.2304, allocations: 214.8 kB / 419.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2304, allocations: 8.609 kB / 419.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.2305, allocations: 12.38 kB / 419.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.2307, allocations: 169.6 kB / 420.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2308, allocations: 192 / 420.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.2308, allocations: 7.938 kB / 420.1 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.2308, allocations: 4 kB / 420.1 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.231, allocations: 152.6 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.2318, allocations: 0.5636 MB / 420.8 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.232, allocations: 154.5 kB / 420.9 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.2321, allocations: 64.84 kB / 421 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.2321, allocations: 7.984 kB / 421 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2321, allocations: 38.56 kB / 421 MB, free: 18.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.2321, allocations: 0 / 421 MB, free: 18.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008466/0.233, allocations: 387.2 kB / 421.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.233, allocations: 55.66 kB / 421.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2332, allocations: 167.3 kB / 421.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2332, allocations: 29.7 kB / 421.7 MB, free: 18.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.2332, allocations: 120.1 kB / 421.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2333, allocations: 43.3 kB / 421.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.2333, allocations: 49.69 kB / 421.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.2334, allocations: 322.8 kB / 422.2 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2335, allocations: 87.97 kB / 422.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2336, allocations: 95.97 kB / 422.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.2338, allocations: 196.6 kB / 422.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2339, allocations: 0 / 422.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004346/0.2343, allocations: 307.8 kB / 422.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2343, allocations: 4 kB / 422.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2343, allocations: 0 / 422.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.2346, allocations: 52.81 kB / 422.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.2347, allocations: 39.92 kB / 423 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009681/0.2357, allocations: 1.539 MB / 424.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2359, allocations: 19.78 kB / 424.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2359, allocations: 8 kB / 424.5 MB, free: 15.15 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 (22): * Single equations (assignments): 21 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.236, allocations: 129.9 kB / 424.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.236, allocations: 15.89 kB / 424.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.2364, allocations: 231.2 kB / 424.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2365, allocations: 3.984 kB / 424.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2365, allocations: 0 / 424.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2365, allocations: 4 kB / 424.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.2367, allocations: 261.4 kB / 425.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2367, allocations: 0 / 425.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.2368, allocations: 31.86 kB / 425.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.2369, allocations: 52.81 kB / 425.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.237, allocations: 8 kB / 425.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000895/0.2379, allocations: 1.527 MB / 426.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2379, allocations: 0 / 426.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.2382, allocations: 319.7 kB / 427.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.2383, allocations: 85.02 kB / 427.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2383, allocations: 0 / 427.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2384, allocations: 7.938 kB / 427.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.2385, allocations: 7.984 kB / 427.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2385, allocations: 4 kB / 427.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.98e-05/0.2386, allocations: 138.1 kB / 427.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.92e-07/0.2386, allocations: 0 / 427.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.2389, allocations: 59.78 kB / 427.4 MB, free: 12.05 MB / 302.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 (12): * Single equations (assignments): 11 * 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 {(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.0001352/0.239, allocations: 119.2 kB / 427.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.2395, allocations: 318.6 kB / 427.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2396, allocations: 3.938 kB / 427.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.2399, allocations: 198.7 kB / 428 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2401, allocations: 19.98 kB / 428 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.2406, allocations: 305.1 kB / 428.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.2407, allocations: 0.7045 MB / 429 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.633e-05/0.2408, allocations: 20.62 kB / 429 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.2408, allocations: 15.44 kB / 429.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2408, allocations: 0 / 429.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004072/0.2449, allocations: 2.14 MB / 431.2 MB, free: 8.148 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)