Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.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: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009233/0.0009236, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 181.7 kB / 16.96 MB, free: 6.895 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1656/0.1656, allocations: 8.087 MB / 300.2 MB, free: 2.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 12 kB / 363.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 52.51 MB / 416.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.006008/0.1094, allocations: 5.977 MB / 422.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.1126, allocations: 1.467 MB / 423.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000738/0.1133, allocations: 16 kB / 423.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.1141, allocations: 250.7 kB / 423.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.1157, allocations: 497.1 kB / 424.3 MB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1775/0.2932, allocations: 1.345 MB / 425.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.2949, allocations: 1.125 MB / 426.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.2954, allocations: 328.5 kB / 427.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.2959, allocations: 431.8 kB / 427.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.2966, allocations: 0.5844 MB / 428.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.2967, allocations: 51.78 kB / 428.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007304/0.2974, allocations: 290.2 kB / 428.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.2976, allocations: 192.7 kB / 428.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.298, allocations: 0.5356 MB / 429.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.2992, allocations: 1.243 MB / 430.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2992, allocations: 0.75 kB / 430.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2992, allocations: 0 / 430.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.2993, allocations: 4 kB / 430.4 MB, free: 34.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01109/0.3104, allocations: 2.787 MB / 433.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.3104, allocations: 10.91 kB / 433.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004111/0.3108, allocations: 126 kB / 433.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.3111, allocations: 127.5 kB / 433.4 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009154/0.3121, allocations: 0.6208 MB / 434.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.3122, allocations: 131.8 kB / 434.2 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.3124, allocations: 95.41 kB / 434.3 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.3144, allocations: 1.292 MB / 435.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3144, allocations: 3.469 kB / 435.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3146, allocations: 34.22 kB / 435.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.3146, allocations: 19.62 kB / 435.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.3164, allocations: 1.225 MB / 436.9 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00551/0.3219, allocations: 5.057 MB / 441.9 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.324, allocations: 2.239 MB / 444.2 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3251, allocations: 0.9511 MB / 445.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.3253, allocations: 30.38 kB / 445.1 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3253, allocations: 51.22 kB / 445.2 MB, free: 28.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 3.757e-06/0.3253, allocations: 3.281 kB / 445.2 MB, free: 28.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.03062/0.356, allocations: 7.935 MB / 453.1 MB, free: 26.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.356, allocations: 144.5 kB / 453.3 MB, free: 26.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.3567, allocations: 0.5621 MB / 453.8 MB, free: 26.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.3569, allocations: 58.27 kB / 453.9 MB, free: 26.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.357, allocations: 303.2 kB / 454.2 MB, free: 26.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.3573, allocations: 0.4892 MB / 454.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.3575, allocations: 142.2 kB / 454.8 MB, free: 25.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.3576, allocations: 343.8 kB / 455.1 MB, free: 25.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.3587, allocations: 0.8334 MB / 456 MB, free: 24.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3598, allocations: 0.9659 MB / 456.9 MB, free: 24.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.3621, allocations: 1.88 MB / 458.8 MB, free: 23.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.3621, allocations: 0 / 458.8 MB, free: 23.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009097/0.3712, allocations: 3.657 MB / 462.5 MB, free: 22.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.3713, allocations: 4.875 kB / 462.5 MB, free: 22.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3713, allocations: 1.094 kB / 462.5 MB, free: 22.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009745/0.3811, allocations: 2.347 MB / 464.8 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/0.382, allocations: 217.8 kB / 465.1 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/0.4004, allocations: 9.888 MB / 474.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.4015, allocations: 142.5 kB / 475.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.4017, allocations: 54.47 kB / 475.1 MB, free: 15.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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 {(20,48)} Notification: Performance of prepare postOptimizeDAE: time 0.0004295/0.4021, allocations: 250.1 kB / 475.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.4023, allocations: 100.4 kB / 475.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009575/0.4119, allocations: 3.624 MB / 479.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/0.412, allocations: 24.44 kB / 479.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.412, allocations: 4 kB / 479.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/0.412, allocations: 9.172 kB / 479.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.4242, allocations: 5.137 MB / 484.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.4242, allocations: 0 / 484.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.4248, allocations: 166.8 kB / 484.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009637/0.4345, allocations: 2.234 MB / 486.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003276/0.4348, allocations: 35.92 kB / 486.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.4519, allocations: 9.741 MB / 496.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4519, allocations: 0.75 kB / 496.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009467/0.4614, allocations: 3.53 MB / 500 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.4618, allocations: 191.5 kB / 0.4884 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.462, allocations: 35.94 kB / 0.4885 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/0.463, allocations: 86.47 kB / 0.4886 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/0.4635, allocations: 126.4 kB / 0.4887 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.4636, allocations: 59.98 kB / 0.4887 GB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005772/0.4642, allocations: 383 kB / 0.4891 GB, free: 12.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4642, allocations: 0 / 0.4891 GB, free: 12.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001643/0.4659, allocations: 0.527 MB / 0.4896 GB, free: 11.55 MB / 366.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: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 102 * 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 {(20,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009887/0.4758, allocations: 4.139 MB / 0.4937 GB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006475/0.4823, allocations: 2.844 MB / 0.4964 GB, free: 4.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4823, allocations: 4 kB / 0.4964 GB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004382/0.4867, allocations: 1.819 MB / 0.4982 GB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009059/0.4876, allocations: 115.8 kB / 0.4983 GB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/0.517, allocations: 14.01 MB / 0.512 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006977/0.5178, allocations: 1.054 MB / 0.513 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005364/0.5183, allocations: 127.2 kB / 0.5132 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/0.5188, allocations: 371.3 kB / 0.5135 GB, free: 2.797 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5188, allocations: 0 / 0.5135 GB, free: 2.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06906/0.5879, allocations: 40.64 MB / 0.5532 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/0.5882, allocations: 249.5 kB / 0.5534 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/2.979, allocations: 0 / 0.5534 GB, free: 10.18 MB / 430.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_DistrictWithOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)