Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers",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.001149/0.001149, allocations: 180 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 239.7 MB, free: 1.824 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.001091/0.001091, allocations: 98.53 kB / 290.9 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04742/0.04742, allocations: 8.116 MB / 350.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 9.812 kB / 413.2 MB, free: 89.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1116, allocations: 52.53 MB / 465.7 MB, free: 41.99 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.491, allocations: 83.22 MB / 0.5361 GB, free: 16.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.4912, allocations: 75.8 kB / 0.5361 GB, free: 16.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1164/0.6077, allocations: 47.78 MB / 0.5828 GB, free: 22.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6077, allocations: 0 / 0.5828 GB, free: 22.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.6079, allocations: 34.84 kB / 0.5828 GB, free: 22.32 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01071/0.6186, allocations: 2.652 MB / 0.5854 GB, free: 20.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.6187, allocations: 7.75 kB / 0.5854 GB, free: 20.94 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008934/0.6196, allocations: 179.8 kB / 0.5856 GB, free: 20.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.6207, allocations: 186 kB / 0.5858 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.6232, allocations: 0.9976 MB / 0.5867 GB, free: 20.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.6234, allocations: 148.4 kB / 0.5869 GB, free: 20.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.6239, allocations: 113.6 kB / 0.587 GB, free: 20.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/0.6286, allocations: 2.007 MB / 0.5889 GB, free: 19.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/0.6287, allocations: 4 kB / 0.5889 GB, free: 19.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004197/0.6291, allocations: 55.44 kB / 0.589 GB, free: 19.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.6292, allocations: 27.31 kB / 0.589 GB, free: 19.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/0.6334, allocations: 1.941 MB / 0.5909 GB, free: 19.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.6494, allocations: 8.813 MB / 0.5995 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005347/0.6548, allocations: 4.405 MB / 0.6038 GB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/0.6552, allocations: 47.88 kB / 0.6039 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003048/0.6582, allocations: 1.432 MB / 0.6053 GB, free: 7.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 5.961e-06/0.6583, allocations: 4 kB / 0.6053 GB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=201): time 0.057/0.7153, allocations: 12.48 MB / 0.6175 GB, free: 14.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002183/0.7156, allocations: 188.2 kB / 0.6177 GB, free: 14.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.718, allocations: 0.7546 MB / 0.6184 GB, free: 13.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007829/0.7188, allocations: 65.7 kB / 0.6185 GB, free: 13.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/0.7195, allocations: 453.6 kB / 0.6189 GB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.7209, allocations: 0.6615 MB / 0.6195 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/0.7214, allocations: 36 kB / 0.6196 GB, free: 12.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003278/0.7218, allocations: 369.8 kB / 0.6199 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.7245, allocations: 1.082 MB / 0.621 GB, free: 11.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/0.7271, allocations: 1.21 MB / 0.6222 GB, free: 9.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.7298, allocations: 1.182 MB / 0.6233 GB, free: 8.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.7298, allocations: 0 / 0.6233 GB, free: 8.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01615/0.746, allocations: 4.862 MB / 0.6281 GB, free: 3.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.7461, allocations: 8 kB / 0.6281 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.7462, allocations: 0 / 0.6281 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/0.7614, allocations: 3.661 MB / 0.6316 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.763, allocations: 215.7 kB / 0.6318 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03821/0.8012, allocations: 15.32 MB / 0.6468 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.8037, allocations: 138.7 kB / 0.6469 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/0.8042, allocations: 63.97 kB / 0.647 GB, free: 404 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,brk2.BrkOpen,$PRE.cmd.pulseStart,cmd.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {28 58} Notification: Performance of prepare postOptimizeDAE: time 0.001384/0.8056, allocations: 345.6 kB / 0.6473 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006413/0.8062, allocations: 150.3 kB / 0.6475 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.8204, allocations: 5.269 MB / 0.6526 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.8205, allocations: 20 kB / 0.6526 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8205, allocations: 0 / 0.6526 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.814e-05/0.8205, allocations: 11.95 kB / 0.6526 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/0.8379, allocations: 8.097 MB / 0.6606 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.838, allocations: 3.984 kB / 0.6606 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/0.839, allocations: 235.7 kB / 0.6608 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01282/0.8518, allocations: 3.111 MB / 0.6638 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000455/0.8523, allocations: 51.97 kB / 0.6639 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02977/0.8821, allocations: 15.17 MB / 0.6787 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.8822, allocations: 11.94 kB / 0.6787 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.8961, allocations: 5.003 MB / 0.6836 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/0.897, allocations: 266.8 kB / 0.6838 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/0.8975, allocations: 39.95 kB / 0.6839 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.899, allocations: 143.8 kB / 0.684 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007975/0.8998, allocations: 170.7 kB / 0.6842 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/0.9, allocations: 67.97 kB / 0.6842 GB, free: 10.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.9011, allocations: 0.6084 MB / 0.6848 GB, free: 9.406 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9011, allocations: 0 / 0.6848 GB, free: 9.406 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002621/0.9038, allocations: 0.7181 MB / 0.6855 GB, free: 8.688 MB / 458.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: 3 ($whenCondition1,brk2.BrkOpen,cmd.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {29 57} Notification: Performance of Backend phase and start with SimCode phase: time 0.01333/0.9171, allocations: 5.639 MB / 0.691 GB, free: 3.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2112/1.128, allocations: 3.796 MB / 0.6947 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.128, allocations: 1.281 kB / 0.6947 GB, free: 123.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007602/1.136, allocations: 2.624 MB / 0.6973 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.137, allocations: 150.2 kB / 0.6975 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.163, allocations: 12.83 MB / 0.71 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.164, allocations: 1.256 MB / 0.7112 GB, free: 119.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001347/1.166, allocations: 198.7 kB / 0.7114 GB, free: 119.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008919/1.167, allocations: 0.5527 MB / 0.7119 GB, free: 119.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.234e-06/1.167, allocations: 0 / 0.7119 GB, free: 119.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/1.282, allocations: 60.27 MB / 0.7708 GB, free: 89.07 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.282, allocations: 228.3 kB / 0.771 GB, free: 88.83 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/4.721, allocations: 6.156 kB / 0.771 GB, free: 88.83 MB / 458.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1)