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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 102.3 kB / 16.56 MB, free: 6.719 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.001211/0.001211, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.299/1.299, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05452/0.05452, allocations: 8.101 MB / 299.4 MB, free: 6.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 361.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2588, allocations: 51.52 MB / 413.2 MB, free: 25.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.006585/0.2654, allocations: 8.751 MB / 422 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004204/0.2696, allocations: 2.316 MB / 424.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.2709, allocations: 28 kB / 424.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.2719, allocations: 338.3 kB / 424.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.2738, allocations: 0.7382 MB / 425.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.2764, allocations: 1.543 MB / 426.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.2784, allocations: 1.781 MB / 428.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.2793, allocations: 0.5802 MB / 429.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/0.28, allocations: 0.6925 MB / 430 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.2807, allocations: 0.9297 MB / 430.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.2809, allocations: 116 kB / 431 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.2817, allocations: 347.7 kB / 431.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.2818, allocations: 326.6 kB / 431.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005573/0.2824, allocations: 0.8395 MB / 432.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.2836, allocations: 1.801 MB / 434.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2837, allocations: 3.938 kB / 434.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2837, allocations: 0 / 434.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.2837, allocations: 3.938 kB / 434.3 MB, free: 4.641 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01576/0.2995, allocations: 4.148 MB / 438.5 MB, free: 440 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2995, allocations: 8.031 kB / 438.5 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.2999, allocations: 186.9 kB / 438.7 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.3014, allocations: 0.9364 MB / 439.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.3015, allocations: 166.8 kB / 439.8 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.3018, allocations: 144.4 kB / 439.9 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/0.3053, allocations: 2.021 MB / 441.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.3053, allocations: 0 / 441.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.3055, allocations: 52 kB / 442 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.3055, allocations: 28 kB / 442 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/0.3086, allocations: 1.95 MB / 444 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.3197, allocations: 8.224 MB / 452.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/0.3242, allocations: 4.583 MB / 456.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.3262, allocations: 1.407 MB / 458.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.3264, allocations: 41.86 kB / 458.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002408/0.3288, allocations: 1.444 MB / 459.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=201): time 4.508e-06/0.3289, allocations: 4 kB / 459.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=201): time 0.05682/0.3857, allocations: 13.23 MB / 472.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.3859, allocations: 180.2 kB / 473.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.3872, allocations: 0.8097 MB / 473.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000444/0.3876, allocations: 73.7 kB / 474 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.388, allocations: 434.9 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006762/0.3887, allocations: 0.6582 MB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007188/0.3894, allocations: 383.9 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3896, allocations: 357.9 kB / 475.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.3916, allocations: 1.258 MB / 477 MB, free: 8.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.3938, allocations: 1.438 MB / 478.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/0.3983, allocations: 2.799 MB / 481.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3983, allocations: 0 / 481.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01369/0.412, allocations: 5.263 MB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4121, allocations: 6.5 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4121, allocations: 4 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/0.4266, allocations: 3.809 MB / 490.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.4281, allocations: 319.6 kB / 490.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02771/0.4558, allocations: 14.45 MB / 0.4933 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.4576, allocations: 197.9 kB / 0.4935 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.4578, allocations: 75.97 kB / 0.4935 GB, free: 11.95 MB / 382.1 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,n.y,cmd.pulseStart,$PRE.cmd.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * 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 {(28,58)} Notification: Performance of prepare postOptimizeDAE: time 0.0007548/0.4585, allocations: 365.5 kB / 0.4939 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.4589, allocations: 138.3 kB / 0.494 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.4723, allocations: 5.202 MB / 0.4991 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.4723, allocations: 24 kB / 0.4991 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4723, allocations: 0 / 0.4991 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/0.4724, allocations: 11.97 kB / 0.4991 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.222/0.6944, allocations: 7.746 MB / 0.5067 GB, free: 89.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.6945, allocations: 0 / 0.5067 GB, free: 89.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009298/0.6954, allocations: 235.8 kB / 0.5069 GB, free: 89.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01336/0.7088, allocations: 3.26 MB / 0.5101 GB, free: 89.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003803/0.7092, allocations: 46.69 kB / 0.5101 GB, free: 89.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02445/0.7337, allocations: 14.24 MB / 0.524 GB, free: 82.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7337, allocations: 0 / 0.524 GB, free: 82.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/0.746, allocations: 5.026 MB / 0.529 GB, free: 79.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.7465, allocations: 251.7 kB / 0.5292 GB, free: 79.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/0.7468, allocations: 36 kB / 0.5292 GB, free: 79.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.7481, allocations: 121.2 kB / 0.5293 GB, free: 79.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006871/0.7488, allocations: 177.5 kB / 0.5295 GB, free: 79.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.749, allocations: 60 kB / 0.5296 GB, free: 79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006819/0.7497, allocations: 0.5419 MB / 0.5301 GB, free: 78.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.7497, allocations: 0 / 0.5301 GB, free: 78.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00185/0.7516, allocations: 0.7409 MB / 0.5308 GB, free: 77.73 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: 3 ($whenCondition1,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(28,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003436/0.7519, allocations: 182.8 kB / 0.531 GB, free: 77.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007669/0.7596, allocations: 4.098 MB / 0.535 GB, free: 73.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.7596, allocations: 1.281 kB / 0.535 GB, free: 73.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005655/0.7653, allocations: 2.565 MB / 0.5375 GB, free: 70.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.7665, allocations: 183.5 kB / 0.5377 GB, free: 70.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.7717, allocations: 3.742 MB / 0.5413 GB, free: 66.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.7723, allocations: 1.228 MB / 0.5425 GB, free: 65.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.7727, allocations: 134.4 kB / 0.5427 GB, free: 65.59 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7727, allocations: 0 / 0.5427 GB, free: 65.59 MB / 382.1 MB Notification: Performance of Templates: time 0.03407/0.8068, allocations: 32 MB / 0.5739 GB, free: 33.62 MB / 382.1 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)