Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.0009579, allocations: 92.33 kB / 15.74 MB, free: 408 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.001455/0.001456, allocations: 174.7 kB / 16.62 MB, free: 5.738 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.452/1.452, allocations: 223.3 MB / 240.7 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2102/0.2102, allocations: 8.081 MB / 299.8 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003105, allocations: 8 kB / 362.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.09961, allocations: 52.52 MB / 415.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004986/0.1046, allocations: 5 MB / 420.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004865/0.1096, allocations: 2.225 MB / 422.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006397/0.1102, allocations: 16 kB / 422.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.1109, allocations: 202.7 kB / 422.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1124, allocations: 0.5204 MB / 423.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2395/0.3519, allocations: 1.176 MB / 424.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.3539, allocations: 1.164 MB / 425.7 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005371/0.3545, allocations: 329.6 kB / 426 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.355, allocations: 475.1 kB / 426.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006815/0.3557, allocations: 0.6107 MB / 427.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.3558, allocations: 56.88 kB / 427.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.3566, allocations: 288.7 kB / 427.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.3568, allocations: 205.1 kB / 427.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.3571, allocations: 226.7 kB / 427.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009965/0.3581, allocations: 1.014 MB / 428.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3581, allocations: 7.109 kB / 428.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3581, allocations: 0 / 428.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3581, allocations: 0 / 428.9 MB, free: 34.96 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01054/0.3687, allocations: 2.983 MB / 431.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3687, allocations: 12.84 kB / 431.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.3692, allocations: 139.4 kB / 432 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009628/0.3702, allocations: 0.6564 MB / 432.6 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.3702, allocations: 72.75 kB / 432.7 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3704, allocations: 95.56 kB / 432.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.3726, allocations: 1.338 MB / 434.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3726, allocations: 0 / 434.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.3727, allocations: 37.97 kB / 434.2 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.3728, allocations: 26.33 kB / 434.2 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.3745, allocations: 1.271 MB / 435.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/0.3803, allocations: 5.267 MB / 440.7 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.3828, allocations: 3.102 MB / 443.9 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.384, allocations: 0.9818 MB / 444.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.3842, allocations: 32.23 kB / 444.9 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.3842, allocations: 57.77 kB / 444.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 3.657e-06/0.3842, allocations: 0 / 444.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.0226/0.4068, allocations: 6.962 MB / 451.9 MB, free: 27.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.4069, allocations: 122.8 kB / 452 MB, free: 26.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.4079, allocations: 0.6369 MB / 452.6 MB, free: 26.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.4081, allocations: 59.05 kB / 452.7 MB, free: 26.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.4083, allocations: 343.1 kB / 453 MB, free: 26.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.4087, allocations: 498.3 kB / 453.5 MB, free: 25.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.4088, allocations: 29.94 kB / 453.5 MB, free: 25.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.409, allocations: 411.2 kB / 453.9 MB, free: 25.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.4101, allocations: 0.8515 MB / 454.8 MB, free: 25.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.4114, allocations: 0.9712 MB / 455.8 MB, free: 24.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.4128, allocations: 0.9342 MB / 456.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4129, allocations: 7.234 kB / 456.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008857/0.4217, allocations: 3.807 MB / 460.5 MB, free: 22.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.4218, allocations: 9.609 kB / 460.5 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4219, allocations: 0 / 460.5 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/0.4336, allocations: 4.026 MB / 464.6 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.4348, allocations: 225.7 kB / 464.8 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.4569, allocations: 10.41 MB / 475.2 MB, free: 16.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.4582, allocations: 136.7 kB / 475.3 MB, free: 16.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.4584, allocations: 55.27 kB / 475.4 MB, free: 16.29 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005814/0.459, allocations: 266 kB / 475.6 MB, free: 16.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.4593, allocations: 111.8 kB / 475.7 MB, free: 16.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009713/0.469, allocations: 3.785 MB / 479.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.4691, allocations: 14.81 kB / 479.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4691, allocations: 3.953 kB / 479.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-05/0.4691, allocations: 8.812 kB / 479.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.4805, allocations: 5.314 MB / 484.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.4806, allocations: 3.938 kB / 484.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.4813, allocations: 174.7 kB / 485 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009147/0.4905, allocations: 2.738 MB / 487.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004116/0.4909, allocations: 35.94 kB / 487.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/0.5081, allocations: 10.21 MB / 498 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5081, allocations: 6.188 kB / 498 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009446/0.5176, allocations: 3.644 MB / 0.4899 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.5181, allocations: 207.3 kB / 0.4901 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.5184, allocations: 32 kB / 0.4901 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5194, allocations: 112.2 kB / 0.4902 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005382/0.52, allocations: 122.4 kB / 0.4904 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.5201, allocations: 55.94 kB / 0.4904 GB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006742/0.5208, allocations: 435 kB / 0.4908 GB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5208, allocations: 0 / 0.4908 GB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002494/0.5233, allocations: 0.5349 MB / 0.4914 GB, free: 10.2 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 (106): * Single equations (assignments): 105 * 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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003812/0.5237, allocations: 158.4 kB / 0.4915 GB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007334/0.531, allocations: 3.104 MB / 0.4945 GB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.5311, allocations: 8.656 kB / 0.4945 GB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00555/0.5366, allocations: 2.031 MB / 0.4965 GB, free: 4.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.5379, allocations: 147.7 kB / 0.4967 GB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/0.5423, allocations: 2.51 MB / 0.4991 GB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/0.5431, allocations: 1.092 MB / 0.5002 GB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006395/0.5437, allocations: 147.5 kB / 0.5003 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.5439, allocations: 87.41 kB / 0.5004 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.544, allocations: 4 kB / 0.5004 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of Templates: time 0.05528/0.5992, allocations: 32.77 MB / 0.5324 GB, free: 260 kB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) Environment - environmentSimulation: