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.0007797/0.0007796, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008943/0.0008946, allocations: 176.5 kB / 16.63 MB, free: 6.887 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.476/1.476, allocations: 223.2 MB / 240.7 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2225/0.2225, allocations: 8.092 MB / 299.9 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003085, allocations: 8 kB / 362.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 52.52 MB / 415.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.001672/0.1244, allocations: 1.412 MB / 416.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1265, allocations: 1.486 MB / 418.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.1267, allocations: 4 kB / 418.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.127, allocations: 91.59 kB / 418.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.1274, allocations: 123.3 kB / 418.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1286, allocations: 0.6463 MB / 419.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.1289, allocations: 270.6 kB / 419.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1292, allocations: 93.52 kB / 419.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1294, allocations: 103.6 kB / 419.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1296, allocations: 139.4 kB / 419.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1296, allocations: 16 kB / 419.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.13, allocations: 155.8 kB / 419.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.13, allocations: 39.83 kB / 419.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.1301, allocations: 73.52 kB / 420 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1305, allocations: 307.4 kB / 420.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1305, allocations: 3.938 kB / 420.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1305, allocations: 0 / 420.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1305, allocations: 4 kB / 420.3 MB, free: 3.742 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.002801/0.1333, allocations: 0.9046 MB / 421.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1334, allocations: 8.031 kB / 421.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.1335, allocations: 35.58 kB / 421.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.1339, allocations: 274.3 kB / 421.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.1339, allocations: 20.44 kB / 421.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.134, allocations: 24 kB / 421.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000724/0.1348, allocations: 343.2 kB / 421.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1348, allocations: 0 / 421.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.1348, allocations: 8 kB / 421.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1349, allocations: 8 kB / 421.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.1355, allocations: 337.5 kB / 422.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.1375, allocations: 1.021 MB / 423.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.1382, allocations: 394.4 kB / 423.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.1386, allocations: 228.8 kB / 423.9 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2192/0.3578, allocations: 14.53 kB / 423.9 MB, free: 41.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3579, allocations: 38.78 kB / 423.9 MB, free: 41.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/0.3579, allocations: 0 / 423.9 MB, free: 41.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002299/0.3602, allocations: 1.043 MB / 425 MB, free: 41.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3602, allocations: 54.16 kB / 425 MB, free: 41.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3605, allocations: 223.8 kB / 425.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.3605, allocations: 35.67 kB / 425.3 MB, free: 41.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.3606, allocations: 148.4 kB / 425.4 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/0.3607, allocations: 115 kB / 425.5 MB, free: 40.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.3607, allocations: 9.375 kB / 425.6 MB, free: 40.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.3608, allocations: 337.6 kB / 425.9 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.3612, allocations: 235.2 kB / 426.1 MB, free: 40.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.3615, allocations: 236.4 kB / 426.3 MB, free: 40.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.3618, allocations: 258.2 kB / 426.6 MB, free: 40.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3618, allocations: 3.219 kB / 426.6 MB, free: 40.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001166/0.363, allocations: 0.7171 MB / 427.3 MB, free: 40.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.363, allocations: 3.344 kB / 427.3 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.363, allocations: 0 / 427.3 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.3636, allocations: 158 kB / 427.5 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.364, allocations: 82.02 kB / 427.6 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.3669, allocations: 4.298 MB / 431.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.3672, allocations: 38.34 kB / 431.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3672, allocations: 16.27 kB / 431.9 MB, free: 36.68 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.0001758/0.3674, allocations: 157.5 kB / 432.1 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.3675, allocations: 25.5 kB / 432.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.3687, allocations: 0.5905 MB / 432.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3687, allocations: 7.859 kB / 432.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3687, allocations: 3.375 kB / 432.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3687, allocations: 1.453 kB / 432.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.3693, allocations: 465.3 kB / 433.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3693, allocations: 1.547 kB / 433.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3695, allocations: 49.59 kB / 433.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/0.37, allocations: 158.1 kB / 433.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.37, allocations: 6.719 kB / 433.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.3728, allocations: 4.287 MB / 437.6 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3728, allocations: 7.656 kB / 437.6 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.3738, allocations: 0.6331 MB / 438.3 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.3738, allocations: 99.23 kB / 438.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3739, allocations: 10.55 kB / 438.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.3741, allocations: 8 kB / 438.4 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.3741, allocations: 23.61 kB / 438.4 MB, free: 32.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.3741, allocations: 12.03 kB / 438.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.3743, allocations: 162.2 kB / 438.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3743, allocations: 0 / 438.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004588/0.3747, allocations: 123.7 kB / 438.7 MB, free: 31.95 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.0001812/0.3749, allocations: 116.8 kB / 438.8 MB, free: 31.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3762, allocations: 0.8735 MB / 439.7 MB, free: 31.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3762, allocations: 0 / 439.7 MB, free: 31.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00076/0.377, allocations: 0.5844 MB / 440.3 MB, free: 30.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.3773, allocations: 33.95 kB / 440.3 MB, free: 30.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.3782, allocations: 0.6482 MB / 441 MB, free: 30.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.3784, allocations: 0.7545 MB / 441.7 MB, free: 29.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.3785, allocations: 39.66 kB / 441.8 MB, free: 29.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.3786, allocations: 26 kB / 441.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3786, allocations: 0 / 441.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of Templates: time 0.007014/0.3856, allocations: 4.308 MB / 446.1 MB, free: 29.43 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: