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.001724/0.001724, 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.001732/0.001732, 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.378/1.378, 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.05999/0.05999, allocations: 8.101 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 363.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3276, allocations: 51.51 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.005679/0.3333, allocations: 3.853 MB / 418.5 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004339/0.3377, allocations: 1.956 MB / 420.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/0.3382, allocations: 12 kB / 420.5 MB, free: 19.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.339, allocations: 226.5 kB / 420.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.3402, allocations: 389.5 kB / 421.1 MB, free: 18.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.3432, allocations: 1.318 MB / 422.4 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.3445, allocations: 0.797 MB / 423.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.345, allocations: 247.4 kB / 423.5 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.3453, allocations: 334.7 kB / 423.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.3459, allocations: 430.2 kB / 424.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.346, allocations: 64 kB / 424.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.3468, allocations: 295.8 kB / 424.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.3469, allocations: 159.3 kB / 424.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.3473, allocations: 386 kB / 425.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.3487, allocations: 0.9266 MB / 426 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3487, allocations: 4 kB / 426 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3487, allocations: 0 / 426 MB, free: 14.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3488, allocations: 0 / 426 MB, free: 14.06 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.01292/0.3617, allocations: 2.14 MB / 428.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.3618, allocations: 11.89 kB / 428.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.3621, allocations: 84.03 kB / 428.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009992/0.3631, allocations: 485.7 kB / 428.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.3632, allocations: 45.38 kB / 428.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3633, allocations: 56.38 kB / 428.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.3651, allocations: 0.8379 MB / 429.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3652, allocations: 4.172 kB / 429.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3653, allocations: 31.94 kB / 429.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.3653, allocations: 15.94 kB / 429.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.3669, allocations: 0.777 MB / 430.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005408/0.3724, allocations: 3.323 MB / 433.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.3745, allocations: 1.356 MB / 435.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.3756, allocations: 0.5857 MB / 435.8 MB, free: 3.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.3758, allocations: 20.98 kB / 435.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.3759, allocations: 55.48 kB / 435.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 3.998e-06/0.3759, allocations: 0 / 435.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=89): time 0.02104/0.3969, allocations: 3.962 MB / 439.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/0.3971, allocations: 111.8 kB / 439.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.3979, allocations: 449.6 kB / 440.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.3981, allocations: 49.64 kB / 440.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.3984, allocations: 229.5 kB / 440.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/0.3987, allocations: 303.5 kB / 440.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/0.3992, allocations: 182.6 kB / 441.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3994, allocations: 370.8 kB / 441.5 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.4007, allocations: 0.533 MB / 442 MB, free: 13.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.4021, allocations: 0.6224 MB / 442.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.4049, allocations: 1.209 MB / 443.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.405, allocations: 0 / 443.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00964/0.4146, allocations: 2.382 MB / 446.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.4147, allocations: 4 kB / 446.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.4147, allocations: 0 / 446.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009936/0.4247, allocations: 1.769 MB / 448 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009961/0.4257, allocations: 147.8 kB / 448.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.4476, allocations: 7.353 MB / 455.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4489, allocations: 91.2 kB / 455.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.4491, allocations: 31.98 kB / 455.6 MB, free: 15.73 MB / 334.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.0005721/0.4497, allocations: 201.7 kB / 455.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.4499, allocations: 71.09 kB / 455.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009367/0.4593, allocations: 2.323 MB / 458.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.4594, allocations: 15.94 kB / 458.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.4594, allocations: 3.938 kB / 458.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.4594, allocations: 7.969 kB / 458.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.4697, allocations: 3.327 MB / 461.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.4697, allocations: 0 / 461.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.4703, allocations: 107.8 kB / 461.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009245/0.4796, allocations: 1.499 MB / 463.2 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/0.4798, allocations: 27.92 kB / 463.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.4991, allocations: 7.221 MB / 470.4 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4991, allocations: 4 kB / 470.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00924/0.5084, allocations: 2.281 MB / 472.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.5088, allocations: 156 kB / 472.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.509, allocations: 16 kB / 472.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009936/0.51, allocations: 59.89 kB / 472.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004737/0.5105, allocations: 72.89 kB / 473 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.5106, allocations: 31.98 kB / 473 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005931/0.5112, allocations: 295.1 kB / 473.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5112, allocations: 0 / 473.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001643/0.5129, allocations: 339.8 kB / 473.6 MB, free: 13.42 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.0003431/0.5132, allocations: 147.8 kB / 473.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.5182, allocations: 1.97 MB / 475.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5182, allocations: 0 / 475.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003368/0.5216, allocations: 1.295 MB / 477 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.5223, allocations: 84.39 kB / 477.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.5249, allocations: 1.376 MB / 478.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.5256, allocations: 0.9179 MB / 479.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003224/0.5259, allocations: 100.8 kB / 479.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.5261, allocations: 55.42 kB / 479.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5261, allocations: 0 / 479.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of Templates: time 0.03289/0.559, allocations: 22.52 MB / 0.4903 GB, free: 0.9258 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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)