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: translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009343/0.0009346, allocations: 172.9 kB / 16.8 MB, free: 4.91 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.306/1.306, allocations: 223.3 MB / 240.8 MB, free: 9.988 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.0008232/0.0008236, allocations: 95.19 kB / 292 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04494/0.04494, allocations: 8.106 MB / 351.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005905/0.0005907, allocations: 13.88 kB / 414.4 MB, free: 57.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1079, allocations: 52.51 MB / 466.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3096/0.4176, allocations: 83.27 MB / 0.5373 GB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4179, allocations: 69.59 kB / 0.5373 GB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1361/0.554, allocations: 47.71 MB / 0.5839 GB, free: 4.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.554, allocations: 8 kB / 0.5839 GB, free: 4.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001293/0.5542, allocations: 27.94 kB / 0.584 GB, free: 4.773 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.01029/0.5645, allocations: 2.641 MB / 0.5865 GB, free: 2.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5645, allocations: 8.031 kB / 0.5865 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009545/0.5655, allocations: 179 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.5686, allocations: 1.045 MB / 0.5877 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.5689, allocations: 146.3 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006247/0.5695, allocations: 116.4 kB / 0.588 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004764/0.5743, allocations: 2.014 MB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.5743, allocations: 7.875 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.5746, allocations: 52 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.5746, allocations: 32 kB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.5782, allocations: 1.946 MB / 0.5919 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.5919, allocations: 8.783 MB / 0.6005 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/0.5965, allocations: 4.407 MB / 0.6048 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.5986, allocations: 1.401 MB / 0.6062 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.5989, allocations: 41.94 kB / 0.6062 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002592/0.6015, allocations: 1.444 MB / 0.6076 GB, free: 11.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 4.698e-06/0.6015, allocations: 7.938 kB / 0.6077 GB, free: 11.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=201): time 0.05631/0.6578, allocations: 12.63 MB / 0.62 GB, free: 14.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.658, allocations: 176.2 kB / 0.6202 GB, free: 14.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.6597, allocations: 0.8492 MB / 0.621 GB, free: 13.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004363/0.6601, allocations: 61.7 kB / 0.621 GB, free: 13.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.6605, allocations: 466.1 kB / 0.6215 GB, free: 13.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009117/0.6615, allocations: 0.6659 MB / 0.6221 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.6617, allocations: 35.94 kB / 0.6222 GB, free: 12.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.6619, allocations: 365.9 kB / 0.6225 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/0.6638, allocations: 1.078 MB / 0.6236 GB, free: 10.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/0.6659, allocations: 1.218 MB / 0.6248 GB, free: 9.637 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/0.6698, allocations: 2.388 MB / 0.6271 GB, free: 7.246 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6699, allocations: 4 kB / 0.6271 GB, free: 7.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01342/0.6833, allocations: 4.869 MB / 0.6319 GB, free: 2.359 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.6833, allocations: 4 kB / 0.6319 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6834, allocations: 0 / 0.6319 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01313/0.6965, allocations: 3.657 MB / 0.6354 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6975, allocations: 223.7 kB / 0.6356 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2189/0.9164, allocations: 14.54 MB / 0.6498 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.9184, allocations: 142.2 kB / 0.65 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.9186, allocations: 60.42 kB / 0.65 GB, free: 121.5 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 () * 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.0008572/0.9194, allocations: 349.3 kB / 0.6504 GB, free: 121.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.9197, allocations: 150.4 kB / 0.6505 GB, free: 121.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.9334, allocations: 5.263 MB / 0.6556 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.626e-05/0.9335, allocations: 30.03 kB / 0.6557 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9335, allocations: 0 / 0.6557 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-05/0.9336, allocations: 14 kB / 0.6557 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.9508, allocations: 8.105 MB / 0.6636 GB, free: 120.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.9509, allocations: 0 / 0.6636 GB, free: 120.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.9519, allocations: 239 kB / 0.6638 GB, free: 120.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01212/0.964, allocations: 3.116 MB / 0.6669 GB, free: 120.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004108/0.9645, allocations: 47.38 kB / 0.6669 GB, free: 120.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02535/0.9898, allocations: 14.42 MB / 0.681 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.9899, allocations: 0 / 0.681 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.002, allocations: 5.023 MB / 0.6859 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/1.002, allocations: 266.9 kB / 0.6862 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/1.002, allocations: 41 kB / 0.6862 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.004, allocations: 127.9 kB / 0.6863 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000644/1.004, allocations: 178.4 kB / 0.6865 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.005, allocations: 73.11 kB / 0.6866 GB, free: 114.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00088/1.005, allocations: 0.607 MB / 0.6872 GB, free: 114.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.005, allocations: 0 / 0.6872 GB, free: 114.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001978/1.007, allocations: 0.7056 MB / 0.6878 GB, free: 114.1 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.000338/1.008, allocations: 183.5 kB / 0.688 GB, free: 114 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007424/1.015, allocations: 3.804 MB / 0.6917 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.015, allocations: 4.719 kB / 0.6917 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005893/1.021, allocations: 2.628 MB / 0.6943 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/1.022, allocations: 187.2 kB / 0.6945 GB, free: 111.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/1.027, allocations: 3.383 MB / 0.6978 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/1.028, allocations: 1.23 MB / 0.699 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007918/1.029, allocations: 201.4 kB / 0.6992 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/1.029, allocations: 119 kB / 0.6993 GB, free: 108.4 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/1.029, allocations: 2.953 kB / 0.6993 GB, free: 108.4 MB / 458.7 MB Notification: Performance of Templates: time 0.0544/1.083, allocations: 48.36 MB / 0.7465 GB, free: 75.09 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1)