Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009216/0.0009215, 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.00109/0.00109, allocations: 176.4 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.406/1.406, allocations: 223.3 MB / 240.7 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.207/0.207, allocations: 8.083 MB / 299.8 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 8 kB / 362.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 52.53 MB / 415.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.005255/0.1195, allocations: 5.195 MB / 420.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004313/0.1239, allocations: 2.319 MB / 422.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.1244, allocations: 20 kB / 422.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005954/0.1251, allocations: 198.7 kB / 423.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.1262, allocations: 0.5321 MB / 423.6 MB, free: 452 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2089/0.3352, allocations: 1.182 MB / 424.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.3375, allocations: 1.295 MB / 426.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.338, allocations: 387.9 kB / 426.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.3386, allocations: 490.6 kB / 427 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.3392, allocations: 0.6281 MB / 427.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.3393, allocations: 68.19 kB / 427.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.34, allocations: 286.8 kB / 428 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.3402, allocations: 212.9 kB / 428.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.3404, allocations: 261.2 kB / 428.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3414, allocations: 1.372 MB / 429.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3414, allocations: 0 / 429.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3415, allocations: 4 kB / 429.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3415, allocations: 1.531 kB / 429.8 MB, free: 34.57 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.0106/0.3521, allocations: 3.039 MB / 432.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3521, allocations: 11.66 kB / 432.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.3526, allocations: 143 kB / 433 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3539, allocations: 0.7391 MB / 433.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.154e-05/0.354, allocations: 85.83 kB / 433.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.3541, allocations: 98.06 kB / 433.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.3565, allocations: 1.513 MB / 435.4 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3565, allocations: 0 / 435.4 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.3566, allocations: 39.66 kB / 435.5 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.3567, allocations: 19.78 kB / 435.5 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.3585, allocations: 1.47 MB / 436.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006375/0.3649, allocations: 6.051 MB / 443 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.3677, allocations: 3.755 MB / 446.8 MB, free: 27.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.3689, allocations: 1.094 MB / 447.8 MB, free: 26.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.3691, allocations: 36.48 kB / 447.9 MB, free: 26.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.3692, allocations: 58.52 kB / 447.9 MB, free: 26.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=151): time 3.486e-06/0.3692, allocations: 0 / 447.9 MB, free: 26.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=151): time 0.02768/0.3968, allocations: 8.138 MB / 456.1 MB, free: 24.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.397, allocations: 126.2 kB / 456.2 MB, free: 24.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.398, allocations: 0.661 MB / 456.9 MB, free: 24.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000254/0.3983, allocations: 59.2 kB / 456.9 MB, free: 24.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.3985, allocations: 353.2 kB / 457.3 MB, free: 23.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.3989, allocations: 0.4989 MB / 457.8 MB, free: 23.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.399, allocations: 30.72 kB / 457.8 MB, free: 23.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3992, allocations: 409 kB / 458.2 MB, free: 23.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.4006, allocations: 0.957 MB / 459.1 MB, free: 22.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.402, allocations: 1.078 MB / 460.2 MB, free: 22.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.4036, allocations: 1.058 MB / 461.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4036, allocations: 0 / 461.3 MB, free: 21.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01017/0.4137, allocations: 4.086 MB / 465.4 MB, free: 19.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4138, allocations: 7.438 kB / 465.4 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4138, allocations: 4.562 kB / 465.4 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01255/0.4264, allocations: 4.228 MB / 469.6 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.4277, allocations: 225.9 kB / 469.8 MB, free: 19.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02744/0.4552, allocations: 11.95 MB / 481.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.4573, allocations: 141.7 kB / 481.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005198/0.4578, allocations: 59.17 kB / 482 MB, free: 12.21 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 (135): * Single equations (assignments): 134 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {32 36} Notification: Performance of prepare postOptimizeDAE: time 0.001397/0.4592, allocations: 304.9 kB / 482.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/0.4599, allocations: 111.3 kB / 482.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.4742, allocations: 4.073 MB / 486.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/0.4743, allocations: 16.5 kB / 486.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.4743, allocations: 4 kB / 486.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-05/0.4744, allocations: 15.95 kB / 486.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.4889, allocations: 5.992 MB / 492.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.489, allocations: 0 / 492.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/0.4896, allocations: 175.7 kB / 492.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009135/0.4987, allocations: 2.899 MB / 495.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.499, allocations: 35.98 kB / 495.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02366/0.5227, allocations: 11.72 MB / 0.4954 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5227, allocations: 0 / 0.4954 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.5333, allocations: 3.933 MB / 0.4993 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.5339, allocations: 207.4 kB / 0.4995 GB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/0.5343, allocations: 37.47 kB / 0.4995 GB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.5358, allocations: 108.7 kB / 0.4996 GB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/0.5364, allocations: 134.3 kB / 0.4997 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/0.5366, allocations: 55.98 kB / 0.4998 GB, free: 1.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008884/0.5375, allocations: 455 kB / 0.5002 GB, free: 1.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5375, allocations: 0 / 0.5002 GB, free: 1.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002754/0.5403, allocations: 0.5504 MB / 0.5008 GB, free: 0.5195 MB / 366.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 (105): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {32 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004318/0.5407, allocations: 162.7 kB / 0.5009 GB, free: 364 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008719/0.5494, allocations: 3.358 MB / 0.5042 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.5495, allocations: 0.6562 kB / 0.5042 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005716/0.5552, allocations: 2.189 MB / 0.5063 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.5568, allocations: 142.9 kB / 0.5065 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.562, allocations: 2.757 MB / 0.5092 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/0.5629, allocations: 1.096 MB / 0.5102 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007345/0.5636, allocations: 147.7 kB / 0.5104 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.5639, allocations: 87.41 kB / 0.5104 GB, free: 6.523 MB / 382.1 MB Notification: Performance of SimCode: time 3.466e-06/0.564, allocations: 4 kB / 0.5105 GB, free: 6.52 MB / 382.1 MB Notification: Performance of Templates: time 0.06038/0.6244, allocations: 36.41 MB / 0.546 GB, free: 2.223 MB / 414.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1) Environment - environmentSimulation: