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.001704/0.001704, allocations: 181.3 kB / 13.23 MB, free: 2.086 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.417/1.417, allocations: 221.4 MB / 235.1 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008825, allocations: 98.38 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04606/0.04606, allocations: 8.111 MB / 345.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.07e-05, allocations: 4 kB / 405.6 MB, free: 61.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.08998, allocations: 52.51 MB / 458.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.4435, allocations: 83.41 MB / 0.5288 GB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4438, allocations: 69.97 kB / 0.5289 GB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.5661, allocations: 47.66 MB / 0.5754 GB, free: 9.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5662, allocations: 4 kB / 0.5754 GB, free: 9.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.557e-05/0.5662, allocations: 35.88 kB / 0.5754 GB, free: 9.281 MB / 394.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.008764/0.575, allocations: 2.408 MB / 0.5778 GB, free: 6.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5751, allocations: 8.031 kB / 0.5778 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004169/0.5755, allocations: 181.5 kB / 0.578 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.576, allocations: 189.9 kB / 0.5782 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.5777, allocations: 0.9787 MB / 0.5791 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.5778, allocations: 145.8 kB / 0.5793 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.5781, allocations: 112 kB / 0.5794 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/0.5814, allocations: 1.986 MB / 0.5813 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.5815, allocations: 0 / 0.5813 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.5816, allocations: 63.98 kB / 0.5814 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.5817, allocations: 28 kB / 0.5814 GB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.5848, allocations: 1.916 MB / 0.5833 GB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.5988, allocations: 8.81 MB / 0.5919 GB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004942/0.6038, allocations: 4.384 MB / 0.5961 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.6058, allocations: 1.378 MB / 0.5975 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.606, allocations: 45.94 kB / 0.5975 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002352/0.6084, allocations: 1.417 MB / 0.5989 GB, free: 12 kB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.358e-06/0.6084, allocations: 0 / 0.5989 GB, free: 12 kB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.0132/0.6216, allocations: 4.678 MB / 0.6035 GB, free: 11.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.6218, allocations: 180.2 kB / 0.6037 GB, free: 11.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.6231, allocations: 0.7353 MB / 0.6044 GB, free: 10.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003128/0.6234, allocations: 65.7 kB / 0.6044 GB, free: 10.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.6238, allocations: 454.2 kB / 0.6049 GB, free: 9.848 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007284/0.6246, allocations: 0.666 MB / 0.6055 GB, free: 9.172 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.6247, allocations: 32 kB / 0.6055 GB, free: 9.141 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.6249, allocations: 365.9 kB / 0.6059 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.6268, allocations: 1.059 MB / 0.6069 GB, free: 7.719 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.6287, allocations: 1.198 MB / 0.6081 GB, free: 6.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.6307, allocations: 1.166 MB / 0.6092 GB, free: 5.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.6307, allocations: 3.938 kB / 0.6092 GB, free: 5.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01329/0.644, allocations: 4.814 MB / 0.6139 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.6441, allocations: 11.98 kB / 0.614 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.6441, allocations: 3.953 kB / 0.614 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01351/0.6576, allocations: 3.632 MB / 0.6175 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.6589, allocations: 223.6 kB / 0.6177 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/0.6875, allocations: 14.47 MB / 0.6319 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.6893, allocations: 150.7 kB / 0.632 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.6895, allocations: 55.97 kB / 0.632 GB, free: 13.84 MB / 458.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 () * 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.0004388/0.6899, allocations: 188.8 kB / 0.6322 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.6903, allocations: 146.3 kB / 0.6324 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/0.7048, allocations: 5.229 MB / 0.6375 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/0.7048, allocations: 20 kB / 0.6375 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7049, allocations: 0 / 0.6375 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/0.7049, allocations: 11.95 kB / 0.6375 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.7231, allocations: 8.073 MB / 0.6454 GB, free: 84 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/0.7231, allocations: 8 kB / 0.6454 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.25/0.9731, allocations: 233.2 kB / 0.6456 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01358/0.9868, allocations: 3.096 MB / 0.6486 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005012/0.9873, allocations: 48.97 kB / 0.6487 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02734/1.015, allocations: 14.33 MB / 0.6627 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.015, allocations: 0 / 0.6627 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.027, allocations: 4.974 MB / 0.6675 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/1.028, allocations: 269.5 kB / 0.6678 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004001/1.029, allocations: 37.72 kB / 0.6678 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.03, allocations: 125.8 kB / 0.668 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007634/1.031, allocations: 178.4 kB / 0.6681 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.031, allocations: 70.78 kB / 0.6682 GB, free: 122.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006669/1.032, allocations: 0.5819 MB / 0.6688 GB, free: 122 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.032, allocations: 0 / 0.6688 GB, free: 122 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001774/1.034, allocations: 0.7232 MB / 0.6695 GB, free: 122 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 () * 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.01212/1.046, allocations: 5.607 MB / 0.6749 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008264/1.054, allocations: 3.735 MB / 0.6786 GB, free: 118.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.054, allocations: 4.938 kB / 0.6786 GB, free: 118.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006653/1.061, allocations: 2.567 MB / 0.6811 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.062, allocations: 153.4 kB / 0.6812 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/1.067, allocations: 2.455 MB / 0.6836 GB, free: 116.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/1.068, allocations: 1.256 MB / 0.6849 GB, free: 115.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007148/1.068, allocations: 201.1 kB / 0.6851 GB, free: 115.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/1.069, allocations: 0.5494 MB / 0.6856 GB, free: 115.3 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/1.069, allocations: 0 / 0.6856 GB, free: 115.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07848/1.147, allocations: 60.56 MB / 0.7447 GB, free: 74.75 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.148, allocations: 207.9 kB / 0.7449 GB, free: 74.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/4.386, allocations: 4.062 kB / 0.7449 GB, free: 74.52 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)