Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007865/0.0007863, allocations: 89.41 kB / 16.71 MB, free: 6.637 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.0008399/0.0008398, allocations: 176 kB / 17.62 MB, free: 6.16 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.341/1.341, allocations: 223.3 MB / 241.7 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.03999/0.03999, allocations: 8.097 MB / 300.9 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.000302, allocations: 8 kB / 364.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2044, allocations: 52.5 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.002527/0.207, allocations: 3.44 MB / 420.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.2095, allocations: 1.927 MB / 422 MB, free: 19.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.2099, allocations: 12 kB / 422 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.2104, allocations: 187.1 kB / 422.2 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007956/0.2112, allocations: 350.1 kB / 422.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.2133, allocations: 1.256 MB / 423.8 MB, free: 17.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009133/0.2142, allocations: 0.7502 MB / 424.6 MB, free: 16.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.2145, allocations: 206.4 kB / 424.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.2148, allocations: 298.7 kB / 425.1 MB, free: 16.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.2152, allocations: 390.2 kB / 425.4 MB, free: 16.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.53e-05/0.2152, allocations: 36 kB / 425.5 MB, free: 16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005364/0.2158, allocations: 271.8 kB / 425.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.2159, allocations: 127.3 kB / 425.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.2161, allocations: 367.8 kB / 426.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005886/0.2167, allocations: 0.6778 MB / 426.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2167, allocations: 0 / 426.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2168, allocations: 0 / 426.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2168, allocations: 0 / 426.9 MB, free: 14.56 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007385/0.2242, allocations: 2.012 MB / 428.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.2242, allocations: 11.97 kB / 428.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.2245, allocations: 91.88 kB / 429 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.225, allocations: 481.7 kB / 429.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.2251, allocations: 49.38 kB / 429.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.713e-05/0.2252, allocations: 60.38 kB / 429.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.2263, allocations: 0.8391 MB / 430.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2263, allocations: 192 / 430.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.2264, allocations: 27.94 kB / 430.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2264, allocations: 12 kB / 430.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009669/0.2274, allocations: 0.7809 MB / 431.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.2309, allocations: 3.362 MB / 434.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.2324, allocations: 1.356 MB / 436 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000684/0.2331, allocations: 0.5895 MB / 436.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.2332, allocations: 28.95 kB / 436.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.2333, allocations: 51.56 kB / 436.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 2.865e-06/0.2333, allocations: 0 / 436.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=89): time 0.01429/0.2476, allocations: 3.938 MB / 440.6 MB, free: 352 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.2477, allocations: 115.8 kB / 440.7 MB, free: 212 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.2483, allocations: 441.7 kB / 441.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.2485, allocations: 49.64 kB / 441.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.2486, allocations: 233.5 kB / 441.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.2489, allocations: 299.5 kB / 441.7 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.2491, allocations: 93.66 kB / 441.8 MB, free: 15.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2492, allocations: 374.8 kB / 442.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008509/0.2501, allocations: 0.5369 MB / 442.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.251, allocations: 0.6185 MB / 443.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.2529, allocations: 1.205 MB / 444.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.253, allocations: 0 / 444.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006888/0.2599, allocations: 2.378 MB / 446.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.2599, allocations: 8 kB / 446.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.2599, allocations: 4 kB / 446.9 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007149/0.2671, allocations: 1.776 MB / 448.7 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.2678, allocations: 155.6 kB / 448.8 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.2815, allocations: 6.707 MB / 455.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008302/0.2824, allocations: 91.2 kB / 455.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.2825, allocations: 35.98 kB / 455.7 MB, free: 1.047 MB / 318.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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.2828, allocations: 201.7 kB / 455.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.283, allocations: 63.25 kB / 455.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006766/0.2898, allocations: 2.335 MB / 458.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.2898, allocations: 12 kB / 458.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2898, allocations: 0 / 458.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.2899, allocations: 7.969 kB / 458.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00793/0.2978, allocations: 3.328 MB / 461.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.2978, allocations: 0 / 461.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.2983, allocations: 115.8 kB / 461.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0069/0.3052, allocations: 1.507 MB / 463.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.3054, allocations: 27.98 kB / 463.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/0.3184, allocations: 6.59 MB / 469.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3184, allocations: 0 / 469.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006384/0.3248, allocations: 2.283 MB / 472.1 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.3251, allocations: 156 kB / 472.3 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.3252, allocations: 16 kB / 472.3 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.326, allocations: 70.06 kB / 472.4 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/0.3263, allocations: 77.03 kB / 472.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.3264, allocations: 28 kB / 472.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004175/0.3268, allocations: 299.1 kB / 472.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3268, allocations: 0 / 472.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001077/0.3279, allocations: 335.8 kB / 473.1 MB, free: 15.35 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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002779/0.3282, allocations: 144.8 kB / 473.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004644/0.3328, allocations: 1.921 MB / 475.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.3329, allocations: 8 kB / 475.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/0.3365, allocations: 1.264 MB / 476.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.3372, allocations: 77.94 kB / 476.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3397, allocations: 1.67 MB / 478.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.3403, allocations: 0.9259 MB / 479.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.3405, allocations: 59.42 kB / 479.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3405, allocations: 4 kB / 479.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of Templates: time 0.01927/0.3598, allocations: 14.01 MB / 493.2 MB, free: 11.21 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)