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.001139/0.001139, allocations: 100.3 kB / 15.73 MB, free: 436 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.00129/0.00129, allocations: 180 kB / 16.62 MB, free: 6.5 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.47/1.47, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2337/0.2337, allocations: 8.085 MB / 299.7 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003282, allocations: 12 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 52.51 MB / 415.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.001855/0.1335, allocations: 1.305 MB / 416.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.1358, allocations: 1.482 MB / 418.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.1361, allocations: 4 kB / 418.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.1365, allocations: 99.5 kB / 418.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.137, allocations: 143.5 kB / 418.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1383, allocations: 0.6424 MB / 418.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.1389, allocations: 215.5 kB / 419.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1391, allocations: 93.53 kB / 419.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1392, allocations: 95.69 kB / 419.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1395, allocations: 131.4 kB / 419.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.1395, allocations: 16 kB / 419.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.14, allocations: 139.8 kB / 419.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.14, allocations: 43.77 kB / 419.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.1401, allocations: 77.58 kB / 419.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.1406, allocations: 299.5 kB / 420 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.1406, allocations: 0 / 420 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1406, allocations: 0 / 420 MB, free: 3.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1406, allocations: 0 / 420 MB, free: 3.961 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.003016/0.1436, allocations: 0.9124 MB / 420.9 MB, free: 3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1437, allocations: 8.031 kB / 421 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1438, allocations: 35.58 kB / 421 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1442, allocations: 278.3 kB / 421.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1442, allocations: 16.44 kB / 421.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.1443, allocations: 28 kB / 421.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.1448, allocations: 331.1 kB / 421.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1449, allocations: 0 / 421.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.1449, allocations: 12 kB / 421.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1449, allocations: 7.984 kB / 421.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.1454, allocations: 333.6 kB / 422 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.1471, allocations: 1.033 MB / 423 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.1477, allocations: 394.5 kB / 423.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/0.1478, allocations: 7.984 kB / 423.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1478, allocations: 38.56 kB / 423.4 MB, free: 400 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.1478, allocations: 0 / 423.4 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.2734/0.4212, allocations: 1.042 MB / 424.5 MB, free: 40.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.4213, allocations: 60.28 kB / 424.5 MB, free: 40.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.4216, allocations: 227.2 kB / 424.8 MB, free: 40.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.4216, allocations: 35.48 kB / 424.8 MB, free: 40.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.4217, allocations: 141.3 kB / 424.9 MB, free: 40.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.4218, allocations: 117.9 kB / 425 MB, free: 40.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.4218, allocations: 6.969 kB / 425.1 MB, free: 40.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.4219, allocations: 337.6 kB / 425.4 MB, free: 40.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.4222, allocations: 233.4 kB / 425.6 MB, free: 40.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.4225, allocations: 236.2 kB / 425.8 MB, free: 40.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.4229, allocations: 256.9 kB / 426.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4229, allocations: 0 / 426.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001197/0.4241, allocations: 0.7134 MB / 426.8 MB, free: 40.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4241, allocations: 12.59 kB / 426.8 MB, free: 40.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4242, allocations: 1.594 kB / 426.8 MB, free: 40.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.4248, allocations: 157.1 kB / 427 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.4252, allocations: 83.69 kB / 427.1 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.4282, allocations: 4.322 MB / 431.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.4286, allocations: 34.31 kB / 431.4 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.4286, allocations: 16.92 kB / 431.4 MB, free: 36.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.4288, allocations: 154.2 kB / 431.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.4289, allocations: 28.27 kB / 431.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.43, allocations: 0.5978 MB / 432.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.43, allocations: 3.219 kB / 432.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.43, allocations: 0 / 432.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.43, allocations: 7.516 kB / 432.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.4304, allocations: 461.8 kB / 432.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4304, allocations: 1.5 kB / 432.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.4307, allocations: 49.27 kB / 432.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000539/0.4312, allocations: 154.5 kB / 432.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.4313, allocations: 6.938 kB / 432.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.4341, allocations: 4.315 MB / 437.2 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4341, allocations: 3.781 kB / 437.2 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4351, allocations: 0.6298 MB / 437.8 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.4352, allocations: 106.7 kB / 437.9 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.4353, allocations: 10.72 kB / 437.9 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.4355, allocations: 10.19 kB / 437.9 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.4356, allocations: 27.95 kB / 438 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.4356, allocations: 7.719 kB / 438 MB, free: 31.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.4357, allocations: 162.4 kB / 438.1 MB, free: 31.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4357, allocations: 1.969 kB / 438.1 MB, free: 31.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005308/0.4362, allocations: 117.7 kB / 438.3 MB, free: 31.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.4365, allocations: 120.8 kB / 438.4 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.438, allocations: 0.8819 MB / 439.3 MB, free: 31.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.438, allocations: 0 / 439.3 MB, free: 31.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008268/0.4388, allocations: 0.5809 MB / 439.8 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.4391, allocations: 17.72 kB / 439.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4401, allocations: 0.6459 MB / 440.5 MB, free: 30.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.4404, allocations: 0.7597 MB / 441.3 MB, free: 29.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.4405, allocations: 33.53 kB / 441.3 MB, free: 29.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.4406, allocations: 30.22 kB / 441.3 MB, free: 29.55 MB / 350.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4406, allocations: 0 / 441.3 MB, free: 29.55 MB / 350.1 MB Notification: Performance of Templates: time 0.008376/0.449, allocations: 4.281 MB / 445.6 MB, free: 29.29 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: