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.0007978/0.0007977, allocations: 92.89 kB / 16.71 MB, free: 6.145 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.0008593/0.0008594, allocations: 180.7 kB / 17.62 MB, free: 5.855 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.325/1.325, allocations: 223.3 MB / 241.7 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04171/0.04171, allocations: 8.112 MB / 300.9 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 11.98 kB / 364.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 52.51 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.003606/0.2074, allocations: 5.393 MB / 422.1 MB, free: 19.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.2104, allocations: 2.324 MB / 424.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.2109, allocations: 20 kB / 424.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.2114, allocations: 258.7 kB / 424.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.2125, allocations: 0.5361 MB / 425.2 MB, free: 16.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.2146, allocations: 1.368 MB / 426.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.2158, allocations: 1.24 MB / 427.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.2162, allocations: 334.4 kB / 428.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.2166, allocations: 489.9 kB / 428.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005413/0.2171, allocations: 0.6417 MB / 429.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.996e-05/0.2172, allocations: 56 kB / 429.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.2177, allocations: 283.8 kB / 429.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2179, allocations: 210.9 kB / 429.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.2182, allocations: 0.5806 MB / 430.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.219, allocations: 1.021 MB / 431.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.219, allocations: 4 kB / 431.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.219, allocations: 3.938 kB / 431.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.219, allocations: 3.938 kB / 431.4 MB, free: 10.04 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.01145/0.2305, allocations: 2.975 MB / 434.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2305, allocations: 11.97 kB / 434.4 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.2308, allocations: 139.4 kB / 434.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/0.2317, allocations: 0.6677 MB / 435.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.2317, allocations: 74.38 kB / 435.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.2319, allocations: 104.3 kB / 435.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.2337, allocations: 1.346 MB / 436.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2337, allocations: 3.938 kB / 436.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.2338, allocations: 40 kB / 436.7 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.2338, allocations: 20 kB / 436.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.2354, allocations: 1.273 MB / 438 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006199/0.2416, allocations: 5.281 MB / 443.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.2447, allocations: 3.112 MB / 446.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.2461, allocations: 0.9846 MB / 447.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.2462, allocations: 33.27 kB / 447.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.2463, allocations: 60.05 kB / 447.5 MB, free: 9.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=147): time 3.336e-06/0.2463, allocations: 0 / 447.5 MB, free: 9.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.02839/0.2747, allocations: 7.053 MB / 454.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.2748, allocations: 116.1 kB / 454.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.2757, allocations: 0.6409 MB / 455.3 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.276, allocations: 69.7 kB / 455.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.2762, allocations: 330.4 kB / 455.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/0.2767, allocations: 0.4888 MB / 456.2 MB, free: 280 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.2769, allocations: 141.6 kB / 456.3 MB, free: 132 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.277, allocations: 349.9 kB / 456.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.2783, allocations: 0.8552 MB / 457.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.2797, allocations: 0.9768 MB / 458.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.2826, allocations: 1.939 MB / 460.4 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2826, allocations: 0 / 460.4 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01025/0.2929, allocations: 3.827 MB / 464.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.2929, allocations: 4 kB / 464.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.293, allocations: 0 / 464.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/0.3048, allocations: 3.958 MB / 468.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/0.3059, allocations: 227.7 kB / 468.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/0.3274, allocations: 10.42 MB / 478.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.3287, allocations: 142.5 kB / 479 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.3288, allocations: 51.98 kB / 479.1 MB, free: 9.246 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.0004941/0.3293, allocations: 269.5 kB / 479.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.3296, allocations: 106.7 kB / 479.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.3399, allocations: 3.801 MB / 483.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.34, allocations: 16 kB / 483.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.34, allocations: 0 / 483.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/0.34, allocations: 7.969 kB / 483.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.3522, allocations: 5.328 MB / 488.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.3523, allocations: 0 / 488.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/0.3529, allocations: 179.7 kB / 488.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/0.3637, allocations: 2.739 MB / 491.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/0.3639, allocations: 32 kB / 491.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/0.3844, allocations: 10.23 MB / 0.49 GB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3845, allocations: 0 / 0.49 GB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.3946, allocations: 3.675 MB / 0.4936 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.395, allocations: 203.3 kB / 0.4938 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.3952, allocations: 28 kB / 0.4938 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.3963, allocations: 110 kB / 0.4939 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/0.3967, allocations: 118.4 kB / 0.494 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.3969, allocations: 59.92 kB / 0.4941 GB, free: 14.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006298/0.3975, allocations: 439 kB / 0.4945 GB, free: 13.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3975, allocations: 0 / 0.4945 GB, free: 13.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001483/0.399, allocations: 0.5349 MB / 0.495 GB, free: 13.12 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.0002931/0.3993, allocations: 160.8 kB / 0.4952 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007548/0.4069, allocations: 3.107 MB / 0.4982 GB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.4069, allocations: 8.656 kB / 0.4982 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005785/0.4127, allocations: 2.039 MB / 0.5002 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4138, allocations: 139 kB / 0.5003 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.4177, allocations: 2.665 MB / 0.5029 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/0.4184, allocations: 1.092 MB / 0.504 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.4188, allocations: 99.39 kB / 0.5041 GB, free: 3.734 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4188, allocations: 0 / 0.5041 GB, free: 3.734 MB / 382.1 MB Notification: Performance of Templates: time 0.2189/0.6377, allocations: 22.49 MB / 0.5261 GB, free: 82.38 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)