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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 177.1 kB / 8.048 MB, free: 1.027 MB / 5.871 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: 221.5 MB / 230 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 101.4 kB / 280.9 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04189/0.04189, allocations: 8.099 MB / 339.8 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.888e-05, allocations: 5.969 kB / 398.6 MB, free: 49.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 52.52 MB / 451.1 MB, free: 5.266 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.2137, allocations: 80.91 MB / 0.5195 GB, free: 4.242 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.214, allocations: 67.97 kB / 0.5196 GB, free: 4.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3013/0.5153, allocations: 32.92 MB / 0.5517 GB, free: 64.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5153, allocations: 0 / 0.5517 GB, free: 64.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.96e-05/0.5154, allocations: 20 kB / 0.5518 GB, free: 64.94 MB / 362.7 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.006484/0.5219, allocations: 1.855 MB / 0.5536 GB, free: 63.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5219, allocations: 17.02 kB / 0.5536 GB, free: 63.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004962/0.5224, allocations: 130.5 kB / 0.5537 GB, free: 62.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.5237, allocations: 0.7096 MB / 0.5544 GB, free: 62.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.5238, allocations: 24 kB / 0.5544 GB, free: 62.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.524, allocations: 48.52 kB / 0.5545 GB, free: 62.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00179/0.5258, allocations: 1.215 MB / 0.5557 GB, free: 60.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.5277, allocations: 1.213 MB / 0.5568 GB, free: 59.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.5277, allocations: 0 / 0.5568 GB, free: 59.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.5279, allocations: 8 kB / 0.5569 GB, free: 59.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.5279, allocations: 20 kB / 0.5569 GB, free: 59.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006894/0.5348, allocations: 5.439 MB / 0.5622 GB, free: 53.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.5371, allocations: 3.031 MB / 0.5651 GB, free: 50.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009827/0.5381, allocations: 0.9223 MB / 0.566 GB, free: 49.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.5383, allocations: 118.4 kB / 0.5662 GB, free: 49.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.5384, allocations: 56.05 kB / 0.5662 GB, free: 49.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=146): time 3.937e-06/0.5384, allocations: 0 / 0.5662 GB, free: 49.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=146): time 0.009165/0.5476, allocations: 3.307 MB / 0.5694 GB, free: 45.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.5477, allocations: 120.1 kB / 0.5696 GB, free: 45.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5488, allocations: 0.5428 MB / 0.5701 GB, free: 45.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000307/0.5491, allocations: 29.7 kB / 0.5701 GB, free: 45.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.5493, allocations: 353.8 kB / 0.5704 GB, free: 44.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000509/0.5499, allocations: 468.7 kB / 0.5709 GB, free: 44.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.55, allocations: 0 / 0.5709 GB, free: 44.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5501, allocations: 353.9 kB / 0.5712 GB, free: 44.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009615/0.5511, allocations: 0.6783 MB / 0.5719 GB, free: 43.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/0.5521, allocations: 0.7639 MB / 0.5726 GB, free: 42.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.5539, allocations: 0.8106 MB / 0.5734 GB, free: 41.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.554, allocations: 4 kB / 0.5734 GB, free: 41.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.009324/0.5633, allocations: 3.354 MB / 0.5767 GB, free: 38.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.5634, allocations: 4 kB / 0.5767 GB, free: 38.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5634, allocations: 0 / 0.5767 GB, free: 38.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009298/0.5727, allocations: 2.217 MB / 0.5789 GB, free: 36.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.5735, allocations: 155.8 kB / 0.579 GB, free: 36.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.5914, allocations: 9.823 MB / 0.5886 GB, free: 26.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.5929, allocations: 71.05 kB / 0.5887 GB, free: 26.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.5932, allocations: 43.97 kB / 0.5887 GB, free: 25.98 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load5.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 44} Notification: Performance of prepare postOptimizeDAE: time 0.0005042/0.5937, allocations: 122 kB / 0.5888 GB, free: 25.86 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009357/0.6031, allocations: 3.311 MB / 0.5921 GB, free: 22.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006/0.6037, allocations: 110.8 kB / 0.5922 GB, free: 22.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009949/0.6137, allocations: 3.66 MB / 0.5958 GB, free: 18.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.6138, allocations: 16 kB / 0.5958 GB, free: 18.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6138, allocations: 11.89 kB / 0.5958 GB, free: 18.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.6138, allocations: 7.969 kB / 0.5958 GB, free: 18.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.6259, allocations: 5.352 MB / 0.601 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.626, allocations: 0 / 0.601 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/0.6266, allocations: 175.8 kB / 0.6012 GB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00907/0.6356, allocations: 2.225 MB / 0.6034 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.6359, allocations: 11.97 kB / 0.6034 GB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/0.6522, allocations: 9.798 MB / 0.6129 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6523, allocations: 7.922 kB / 0.6129 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.6629, allocations: 3.554 MB / 0.6164 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.6635, allocations: 211.3 kB / 0.6166 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.6638, allocations: 0 / 0.6166 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.6652, allocations: 79.86 kB / 0.6167 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/0.6657, allocations: 126.3 kB / 0.6168 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/0.6659, allocations: 51.98 kB / 0.6169 GB, free: 12.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000691/0.6666, allocations: 431.2 kB / 0.6173 GB, free: 12.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6666, allocations: 0 / 0.6173 GB, free: 12.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002042/0.6686, allocations: 475.7 kB / 0.6177 GB, free: 12.02 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 44} Notification: Performance of Backend phase and start with SimCode phase: time 0.01128/0.6799, allocations: 4.127 MB / 0.6218 GB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006905/0.6869, allocations: 2.492 MB / 0.6242 GB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.33e-05/0.687, allocations: 0.7812 kB / 0.6242 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00538/0.6924, allocations: 1.711 MB / 0.6259 GB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.6937, allocations: 91.19 kB / 0.626 GB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.698, allocations: 1.555 MB / 0.6275 GB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007872/0.6988, allocations: 1.097 MB / 0.6285 GB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006637/0.6995, allocations: 147.5 kB / 0.6287 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.7001, allocations: 403.3 kB / 0.6291 GB, free: 296 kB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7001, allocations: 0 / 0.6291 GB, free: 296 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07794/0.7781, allocations: 40.7 MB / 0.6688 GB, free: 7.684 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.7783, allocations: 140.2 kB / 0.6689 GB, free: 7.484 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/3.575, allocations: 0 / 0.6689 GB, free: 7.484 MB / 426.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)