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.001111/0.001111, allocations: 96.75 kB / 15.73 MB, free: 440 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.001633/0.001633, allocations: 179.5 kB / 16.61 MB, free: 6.422 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.421/1.421, allocations: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1884/0.1884, allocations: 8.078 MB / 299.7 MB, free: 2.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 8 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 52.52 MB / 415.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.005934/0.1474, allocations: 4.749 MB / 420 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005096/0.1525, allocations: 2.382 MB / 422.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.1531, allocations: 16 kB / 422.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.1538, allocations: 210.7 kB / 422.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.1552, allocations: 0.596 MB / 423.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.261/0.4162, allocations: 1.19 MB / 424.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.4195, allocations: 0.9556 MB / 425.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007926/0.4203, allocations: 391 kB / 425.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000891/0.4212, allocations: 486.4 kB / 426.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007587/0.422, allocations: 0.6053 MB / 426.8 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.4221, allocations: 64.28 kB / 426.9 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008479/0.423, allocations: 265.9 kB / 427.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.4232, allocations: 215.9 kB / 427.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.4234, allocations: 260.1 kB / 427.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.4245, allocations: 1.36 MB / 429 MB, free: 34.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.4245, allocations: 0 / 429 MB, free: 34.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4246, allocations: 3.094 kB / 429 MB, free: 34.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.4246, allocations: 0 / 429 MB, free: 34.73 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.01179/0.4364, allocations: 3.043 MB / 432 MB, free: 33.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.4365, allocations: 9.562 kB / 432 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008172/0.4373, allocations: 146.6 kB / 432.2 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4385, allocations: 0.742 MB / 432.9 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.706e-05/0.4386, allocations: 78.5 kB / 433 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.4388, allocations: 98.34 kB / 433.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.4417, allocations: 1.506 MB / 434.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.4417, allocations: 0 / 434.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.4419, allocations: 40.12 kB / 434.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.4419, allocations: 23 kB / 434.7 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.4442, allocations: 1.47 MB / 436.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0073/0.4515, allocations: 6.077 MB / 442.2 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.4543, allocations: 3.744 MB / 446 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.4545, allocations: 37.45 kB / 446 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.4545, allocations: 61.95 kB / 446.1 MB, free: 28.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=151): time 3.216e-06/0.4545, allocations: 0 / 446.1 MB, free: 28.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=151): time 0.03093/0.4855, allocations: 8.155 MB / 454.2 MB, free: 25.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.4856, allocations: 121.7 kB / 454.3 MB, free: 25.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009697/0.4866, allocations: 0.6556 MB / 455 MB, free: 25.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003511/0.4869, allocations: 64.36 kB / 455 MB, free: 25.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.4872, allocations: 350.5 kB / 455.4 MB, free: 25.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005442/0.4878, allocations: 0.5031 MB / 455.9 MB, free: 24.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4879, allocations: 36.47 kB / 455.9 MB, free: 24.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4881, allocations: 406.7 kB / 456.3 MB, free: 24.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.4894, allocations: 0.9535 MB / 457.3 MB, free: 23.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.4908, allocations: 1.074 MB / 458.3 MB, free: 23.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.4922, allocations: 1.055 MB / 459.4 MB, free: 22.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4922, allocations: 7.219 kB / 459.4 MB, free: 22.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009621/0.5018, allocations: 4.086 MB / 463.5 MB, free: 21.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.5019, allocations: 10.22 kB / 463.5 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.5019, allocations: 5.078 kB / 463.5 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01271/0.5146, allocations: 4.217 MB / 467.7 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5158, allocations: 228.4 kB / 468 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02449/0.5403, allocations: 12.55 MB / 480.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.542, allocations: 136.8 kB / 480.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.5421, allocations: 57.56 kB / 480.7 MB, free: 13.31 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.0006942/0.5428, allocations: 301.2 kB / 481 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.5431, allocations: 112.4 kB / 481.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/0.5536, allocations: 4.078 MB / 485.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.5537, allocations: 17.56 kB / 485.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5537, allocations: 3.281 kB / 485.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.5537, allocations: 7.875 kB / 485.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/0.566, allocations: 6.001 MB / 491.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.5661, allocations: 0 / 491.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.5667, allocations: 171.7 kB / 491.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009682/0.5764, allocations: 2.903 MB / 494.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003212/0.5767, allocations: 35.98 kB / 494.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02167/0.5984, allocations: 12.33 MB / 0.4948 GB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5985, allocations: 0 / 0.4948 GB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.6099, allocations: 3.925 MB / 0.4986 GB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006787/0.6106, allocations: 207.3 kB / 0.4988 GB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.611, allocations: 35.98 kB / 0.4988 GB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.6122, allocations: 107.6 kB / 0.4989 GB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006127/0.6128, allocations: 130.4 kB / 0.4991 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/0.613, allocations: 59.88 kB / 0.4991 GB, free: 2.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008843/0.6139, allocations: 451 kB / 0.4995 GB, free: 2.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6139, allocations: 8 kB / 0.4996 GB, free: 2.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002833/0.6167, allocations: 0.5465 MB / 0.5001 GB, free: 1.586 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.000466/0.6172, allocations: 162 kB / 0.5002 GB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008745/0.6259, allocations: 3.353 MB / 0.5035 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.626, allocations: 0.6562 kB / 0.5035 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006298/0.6323, allocations: 2.196 MB / 0.5057 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.6333, allocations: 106.2 kB / 0.5058 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.638, allocations: 2.818 MB / 0.5085 GB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/0.6389, allocations: 1.123 MB / 0.5096 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006406/0.6395, allocations: 151.7 kB / 0.5098 GB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.6398, allocations: 87.39 kB / 0.5098 GB, free: 7.539 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6398, allocations: 0 / 0.5098 GB, free: 7.539 MB / 382.1 MB Notification: Performance of Templates: time 0.05449/0.6943, allocations: 36.28 MB / 0.5453 GB, free: 3.363 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: