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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0009306/0.0009306, allocations: 103 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 181.9 kB / 16.97 MB, free: 6.875 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.498/1.498, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2249/0.2249, allocations: 8.09 MB / 300.2 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005029, allocations: 11.98 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1317, allocations: 52.52 MB / 416 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002022/0.1337, allocations: 1.496 MB / 417.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.1361, allocations: 1.551 MB / 419.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.1362, allocations: 4 kB / 419.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1366, allocations: 119.5 kB / 419.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1369, allocations: 127.3 kB / 419.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.1383, allocations: 0.7435 MB / 420 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.1387, allocations: 290.5 kB / 420.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1389, allocations: 98.09 kB / 420.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.139, allocations: 111.6 kB / 420.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1392, allocations: 139.4 kB / 420.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.1392, allocations: 16 kB / 420.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.1396, allocations: 159.8 kB / 420.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1397, allocations: 55.7 kB / 420.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1399, allocations: 149 kB / 421 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.1404, allocations: 414.8 kB / 421.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1404, allocations: 0 / 421.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1405, allocations: 4 kB / 421.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1405, allocations: 0 / 421.4 MB, free: 2.926 MB / 350.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.003112/0.1436, allocations: 0.903 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1436, allocations: 12.03 kB / 422.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.985e-05/0.1437, allocations: 36.56 kB / 422.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1441, allocations: 271.6 kB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.1441, allocations: 20.81 kB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.1442, allocations: 24.38 kB / 422.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.1448, allocations: 343.8 kB / 423 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1448, allocations: 192 / 423 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.1448, allocations: 11.94 kB / 423.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.1449, allocations: 8 kB / 423.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.1454, allocations: 333.6 kB / 423.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.218/0.3634, allocations: 1.021 MB / 424.4 MB, free: 41.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.364, allocations: 396.2 kB / 424.8 MB, free: 41.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.3644, allocations: 230.1 kB / 425 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-05/0.3644, allocations: 10.23 kB / 425 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3645, allocations: 43.27 kB / 425.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.445e-06/0.3645, allocations: 0 / 425.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002301/0.3668, allocations: 1.048 MB / 426.1 MB, free: 40.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3668, allocations: 59.66 kB / 426.2 MB, free: 40.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.367, allocations: 231.4 kB / 426.4 MB, free: 40.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.3671, allocations: 36.39 kB / 426.4 MB, free: 40.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.3672, allocations: 136.9 kB / 426.6 MB, free: 40.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.3673, allocations: 122.2 kB / 426.7 MB, free: 40.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.3673, allocations: 43.55 kB / 426.7 MB, free: 40.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.3674, allocations: 333 kB / 427.1 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.3677, allocations: 236.1 kB / 427.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.368, allocations: 247.4 kB / 427.5 MB, free: 40.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/0.3686, allocations: 0.5039 MB / 428 MB, free: 40.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3687, allocations: 0 / 428 MB, free: 40.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001157/0.3698, allocations: 0.7235 MB / 428.8 MB, free: 39.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3698, allocations: 3.375 kB / 428.8 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3699, allocations: 5.125 kB / 428.8 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.3705, allocations: 161 kB / 428.9 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.3709, allocations: 79.44 kB / 429 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.3739, allocations: 4.304 MB / 433.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.3742, allocations: 36.69 kB / 433.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.3742, allocations: 20.31 kB / 433.4 MB, free: 36.11 MB / 350.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.0001744/0.3744, allocations: 141.7 kB / 433.5 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.3745, allocations: 28.62 kB / 433.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.3756, allocations: 0.5839 MB / 434.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3756, allocations: 6.344 kB / 434.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3757, allocations: 0.8125 kB / 434.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3757, allocations: 3.562 kB / 434.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.3761, allocations: 465.9 kB / 434.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3762, allocations: 3.938 kB / 434.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.3764, allocations: 48 kB / 434.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/0.3769, allocations: 160.7 kB / 434.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.3769, allocations: 8.266 kB / 434.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.3798, allocations: 4.299 MB / 439.1 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3798, allocations: 7.172 kB / 439.1 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009435/0.3808, allocations: 0.6353 MB / 439.7 MB, free: 31.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.3809, allocations: 106.5 kB / 439.8 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.3809, allocations: 11.06 kB / 439.8 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.3811, allocations: 4 kB / 439.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.3812, allocations: 27.06 kB / 439.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3812, allocations: 6.312 kB / 439.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3813, allocations: 164.2 kB / 440 MB, free: 31.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3814, allocations: 4 kB / 440 MB, free: 31.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004656/0.3818, allocations: 117.9 kB / 440.2 MB, free: 31.03 MB / 350.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.0001957/0.382, allocations: 118.4 kB / 440.3 MB, free: 30.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3834, allocations: 0.8762 MB / 441.2 MB, free: 30.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3834, allocations: 0 / 441.2 MB, free: 30.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.3843, allocations: 0.5823 MB / 441.7 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3846, allocations: 25.11 kB / 441.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.3855, allocations: 0.6784 MB / 442.4 MB, free: 29.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3857, allocations: 0.7605 MB / 443.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.3858, allocations: 36.03 kB / 443.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.3859, allocations: 27.75 kB / 443.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3859, allocations: 0 / 443.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of Templates: time 0.00764/0.3935, allocations: 4.427 MB / 447.7 MB, free: 28.48 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: