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.00123/0.00123, allocations: 107.8 kB / 16.68 MB, free: 5.871 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.001344/0.001345, allocations: 190.7 kB / 17.61 MB, free: 5.438 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.327/1.327, allocations: 222.9 MB / 241.3 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04741/0.04741, allocations: 8.095 MB / 299.5 MB, free: 6.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 361.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2016, allocations: 51.53 MB / 413.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004547/0.2062, allocations: 5.869 MB / 419.3 MB, free: 19.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.2094, allocations: 2.316 MB / 421.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.2099, allocations: 16 kB / 421.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.2106, allocations: 262.8 kB / 421.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2119, allocations: 0.5399 MB / 422.4 MB, free: 16.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.2142, allocations: 1.352 MB / 423.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.2155, allocations: 1.291 MB / 425 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.216, allocations: 409 kB / 425.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.2164, allocations: 0.5331 MB / 426 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005777/0.217, allocations: 0.708 MB / 426.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.2171, allocations: 103.9 kB / 426.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005872/0.2177, allocations: 347.8 kB / 427.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.2179, allocations: 262.9 kB / 427.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.2183, allocations: 0.6024 MB / 428 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.2193, allocations: 1.068 MB / 429 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2193, allocations: 0 / 429 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2193, allocations: 0 / 429 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.2193, allocations: 0 / 429 MB, free: 10.07 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.01155/0.2309, allocations: 3.162 MB / 432.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2309, allocations: 11.89 kB / 432.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.2312, allocations: 135.4 kB / 432.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.232, allocations: 0.6677 MB / 433 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.2321, allocations: 74.38 kB / 433.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.2322, allocations: 96.38 kB / 433.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.234, allocations: 1.346 MB / 434.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.234, allocations: 7.938 kB / 434.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2341, allocations: 36 kB / 434.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2342, allocations: 20 kB / 434.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.2357, allocations: 1.277 MB / 435.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006162/0.2419, allocations: 5.242 MB / 441.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.245, allocations: 3.112 MB / 444.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.2463, allocations: 0.977 MB / 445.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.2465, allocations: 33.27 kB / 445.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.2466, allocations: 60.05 kB / 445.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=147): time 3.156e-06/0.2466, allocations: 3.938 kB / 445.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.0274/0.274, allocations: 7.077 MB / 452.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.2741, allocations: 120.1 kB / 452.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/0.2751, allocations: 0.6409 MB / 453.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.2754, allocations: 57.7 kB / 453.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.2756, allocations: 338.3 kB / 453.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000485/0.2761, allocations: 496.7 kB / 454 MB, free: 152 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.2767, allocations: 279.5 kB / 454.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2768, allocations: 345.9 kB / 454.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.2781, allocations: 0.8591 MB / 455.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.2795, allocations: 0.9768 MB / 456.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.2823, allocations: 1.939 MB / 458.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2823, allocations: 0 / 458.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009734/0.292, allocations: 3.819 MB / 462.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.2921, allocations: 4 kB / 462.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2921, allocations: 4 kB / 462.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/0.3034, allocations: 3.958 MB / 466.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.3044, allocations: 223.7 kB / 466.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.3266, allocations: 11.46 MB / 477.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.3278, allocations: 142.4 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.328, allocations: 63.91 kB / 478.1 MB, free: 7.934 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.0005409/0.3285, allocations: 261.7 kB / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.3288, allocations: 106.7 kB / 478.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009964/0.3388, allocations: 3.785 MB / 482.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.3388, allocations: 16 kB / 482.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3389, allocations: 7.938 kB / 482.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.3389, allocations: 11.97 kB / 482.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.3507, allocations: 5.328 MB / 487.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.3507, allocations: 3.938 kB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.3513, allocations: 175.8 kB / 487.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01029/0.3616, allocations: 2.747 MB / 490.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/0.3619, allocations: 31.94 kB / 490.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/0.384, allocations: 11.27 MB / 0.49 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.384, allocations: 0 / 0.49 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.3944, allocations: 3.663 MB / 0.4936 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.3948, allocations: 199.3 kB / 0.4938 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.3951, allocations: 35.94 kB / 0.4938 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.3963, allocations: 95.86 kB / 0.4939 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005155/0.3968, allocations: 126.3 kB / 0.494 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.397, allocations: 44 kB / 0.4941 GB, free: 11.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006516/0.3976, allocations: 443 kB / 0.4945 GB, free: 11.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3976, allocations: 0 / 0.4945 GB, free: 11.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001747/0.3994, allocations: 0.5349 MB / 0.495 GB, free: 10.79 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.0003752/0.3998, allocations: 152.8 kB / 0.4952 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008369/0.4081, allocations: 3.231 MB / 0.4983 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.4082, allocations: 0.6562 kB / 0.4983 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005834/0.414, allocations: 2.113 MB / 0.5004 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.4153, allocations: 145.4 kB / 0.5005 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.4199, allocations: 2.648 MB / 0.5031 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/0.4206, allocations: 1.091 MB / 0.5042 GB, free: 1.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.4209, allocations: 103.3 kB / 0.5043 GB, free: 1.234 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.421, allocations: 4 kB / 0.5043 GB, free: 1.23 MB / 382.1 MB Notification: Performance of Templates: time 0.2054/0.6264, allocations: 22.61 MB / 0.5264 GB, free: 80.03 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)