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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001261/0.001261, allocations: 112.5 kB / 17.09 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001132, allocations: 195 kB / 18.02 MB, free: 5.086 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04879/0.04879, allocations: 8.101 MB / 300 MB, free: 6.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 363.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2164, allocations: 51.51 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.00484/0.2213, allocations: 5.908 MB / 420.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.2244, allocations: 2.331 MB / 422.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.2248, allocations: 20 kB / 423 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.2254, allocations: 317.8 kB / 423.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.2264, allocations: 0.6055 MB / 423.9 MB, free: 16.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.2286, allocations: 1.457 MB / 425.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.2296, allocations: 1.303 MB / 426.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.2301, allocations: 405 kB / 427 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.2304, allocations: 0.5448 MB / 427.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.231, allocations: 0.6924 MB / 428.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.2311, allocations: 104 kB / 428.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.2317, allocations: 347.8 kB / 428.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2318, allocations: 262.9 kB / 429 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.2322, allocations: 0.6179 MB / 429.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2332, allocations: 1.413 MB / 431 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2333, allocations: 0 / 431 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2333, allocations: 0 / 431 MB, free: 9.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.2333, allocations: 0 / 431 MB, free: 9.098 MB / 302.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.01095/0.2443, allocations: 3.15 MB / 434.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2443, allocations: 11.89 kB / 434.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.2445, allocations: 139.4 kB / 434.3 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.2454, allocations: 0.6794 MB / 435 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.2454, allocations: 70.38 kB / 435 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.2456, allocations: 96.38 kB / 435.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.2472, allocations: 1.342 MB / 436.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2472, allocations: 3.938 kB / 436.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.2473, allocations: 40 kB / 436.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2473, allocations: 20 kB / 436.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.2489, allocations: 1.277 MB / 437.8 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006063/0.2549, allocations: 5.222 MB / 443 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.258, allocations: 3.115 MB / 446.2 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.2593, allocations: 0.9848 MB / 447.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.2595, allocations: 37.25 kB / 447.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.2595, allocations: 60.05 kB / 447.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=147): time 3.256e-06/0.2596, allocations: 0 / 447.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.02708/0.2866, allocations: 7.065 MB / 454.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.2868, allocations: 120.1 kB / 454.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.2876, allocations: 0.6408 MB / 455.1 MB, free: 88 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.2879, allocations: 65.7 kB / 455.1 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.2881, allocations: 334.4 kB / 455.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004604/0.2886, allocations: 492.7 kB / 455.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/0.2891, allocations: 283.5 kB / 456.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2893, allocations: 345.9 kB / 456.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.2906, allocations: 0.8552 MB / 457.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.292, allocations: 0.9846 MB / 458.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.2949, allocations: 1.939 MB / 460.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.295, allocations: 0 / 460.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009956/0.3049, allocations: 3.819 MB / 464.1 MB, free: 6.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.305, allocations: 10.66 kB / 464.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.305, allocations: 0 / 464.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/0.3163, allocations: 3.93 MB / 468.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.3173, allocations: 231.6 kB / 468.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.3387, allocations: 11.43 MB / 479.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.3399, allocations: 146.4 kB / 479.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.34, allocations: 47.98 kB / 479.9 MB, free: 7.035 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004787/0.3405, allocations: 265.6 kB / 480.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.3407, allocations: 106.7 kB / 480.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009537/0.3503, allocations: 3.793 MB / 484.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.3503, allocations: 16 kB / 484.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3503, allocations: 3.938 kB / 484.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.3503, allocations: 7.969 kB / 484.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.3614, allocations: 5.316 MB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3615, allocations: 0 / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.362, allocations: 171.8 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009646/0.3717, allocations: 2.727 MB / 492.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/0.372, allocations: 35.98 kB / 492.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/0.3919, allocations: 11.24 MB / 0.4918 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.392, allocations: 4 kB / 0.4918 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009344/0.4013, allocations: 3.66 MB / 0.4954 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.4016, allocations: 199.3 kB / 0.4956 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.4017, allocations: 35.92 kB / 0.4956 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/0.4027, allocations: 91.69 kB / 0.4957 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/0.403, allocations: 126.4 kB / 0.4958 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.4031, allocations: 51.98 kB / 0.4959 GB, free: 10.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005678/0.4037, allocations: 435 kB / 0.4963 GB, free: 10.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.425e-06/0.4037, allocations: 3.938 kB / 0.4963 GB, free: 10.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001255/0.405, allocations: 0.5387 MB / 0.4968 GB, free: 9.941 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002806/0.4053, allocations: 163.6 kB / 0.497 GB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006815/0.4121, allocations: 3.185 MB / 0.5001 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.4121, allocations: 4.656 kB / 0.5001 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00586/0.418, allocations: 2.105 MB / 0.5021 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.4191, allocations: 141.4 kB / 0.5023 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.4242, allocations: 2.161 MB / 0.5044 GB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.425, allocations: 1.088 MB / 0.5054 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000658/0.4257, allocations: 155.5 kB / 0.5056 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.426, allocations: 87.41 kB / 0.5057 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.426, allocations: 0 / 0.5057 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of Templates: time 0.2106/0.6366, allocations: 36.7 MB / 0.5415 GB, free: 66.56 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)