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.001394/0.001394, allocations: 106.4 kB / 16.45 MB, free: 6.504 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.001347/0.001347, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.417/1.417, allocations: 222.9 MB / 241.1 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05644/0.05644, allocations: 8.101 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 51.51 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.008132/0.1138, allocations: 6.477 MB / 472 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.1174, allocations: 1.494 MB / 473.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.1179, allocations: 16 kB / 473.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007742/0.1187, allocations: 302 kB / 473.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.1201, allocations: 0.5471 MB / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.1234, allocations: 1.42 MB / 475.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.1254, allocations: 1.178 MB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.126, allocations: 396.8 kB / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006936/0.1267, allocations: 494.1 kB / 477.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.1278, allocations: 0.6458 MB / 478.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.1281, allocations: 96 kB / 478.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008809/0.1289, allocations: 335.7 kB / 478.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.1292, allocations: 235.1 kB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005996/0.1298, allocations: 0.5635 MB / 479.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.1316, allocations: 1.338 MB / 481 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1316, allocations: 0 / 481 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1316, allocations: 0 / 481 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1317, allocations: 0 / 481 MB, free: 3.082 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.01327/0.1449, allocations: 2.974 MB / 484 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.145, allocations: 11.89 kB / 484 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/0.1453, allocations: 135.1 kB / 484.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.1456, allocations: 132.2 kB / 484.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.1466, allocations: 0.6168 MB / 484.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.1468, allocations: 142.3 kB / 485 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.147, allocations: 88.38 kB / 485.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.1496, allocations: 1.295 MB / 486.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1497, allocations: 0 / 486.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.1498, allocations: 39.98 kB / 486.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1498, allocations: 16 kB / 486.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.152, allocations: 1.226 MB / 487.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00794/0.1599, allocations: 5.016 MB / 492.7 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.163, allocations: 2.222 MB / 494.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.165, allocations: 0.9623 MB / 495.9 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.1652, allocations: 33.27 kB / 495.9 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.1653, allocations: 55.81 kB / 496 MB, free: 3.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 3.747e-06/0.1653, allocations: 4 kB / 496 MB, free: 3.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.03916/0.2045, allocations: 7.931 MB / 0.4921 GB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.2046, allocations: 149.8 kB / 0.4922 GB, free: 11.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/0.2055, allocations: 0.5663 MB / 0.4928 GB, free: 10.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002584/0.2058, allocations: 61.7 kB / 0.4928 GB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.2061, allocations: 306.8 kB / 0.4931 GB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005131/0.2066, allocations: 0.5111 MB / 0.4936 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005052/0.2071, allocations: 275.6 kB / 0.4939 GB, free: 9.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2073, allocations: 345.9 kB / 0.4942 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.2087, allocations: 0.8395 MB / 0.495 GB, free: 8.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.2102, allocations: 0.9581 MB / 0.496 GB, free: 7.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.2133, allocations: 1.873 MB / 0.4978 GB, free: 5.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2133, allocations: 0 / 0.4978 GB, free: 5.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009956/0.2233, allocations: 3.659 MB / 0.5014 GB, free: 1.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.2233, allocations: 4 kB / 0.5014 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2234, allocations: 0 / 0.5014 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2139/0.4373, allocations: 2.329 MB / 0.5037 GB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.4385, allocations: 214.5 kB / 0.5039 GB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/0.4589, allocations: 10.84 MB / 0.5145 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.46, allocations: 141 kB / 0.5146 GB, free: 38.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.4601, allocations: 52 kB / 0.5146 GB, free: 38.43 MB / 382.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.0004206/0.4606, allocations: 262.7 kB / 0.5149 GB, free: 38.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.4608, allocations: 104.4 kB / 0.515 GB, free: 38.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009754/0.4706, allocations: 3.612 MB / 0.5185 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/0.4706, allocations: 16.31 kB / 0.5185 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4706, allocations: 1.125 kB / 0.5185 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/0.4707, allocations: 8.109 kB / 0.5185 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.4815, allocations: 5.127 MB / 0.5235 GB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.4815, allocations: 0 / 0.5235 GB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/0.4821, allocations: 163 kB / 0.5237 GB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009019/0.4911, allocations: 2.229 MB / 0.5259 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.4914, allocations: 31.58 kB / 0.5259 GB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/0.5081, allocations: 10.68 MB / 0.5363 GB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5082, allocations: 3.703 kB / 0.5363 GB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008241/0.5164, allocations: 3.528 MB / 0.5398 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.5169, allocations: 203.7 kB / 0.54 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.5171, allocations: 26.12 kB / 0.54 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.5181, allocations: 81.36 kB / 0.5401 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006305/0.5187, allocations: 130.4 kB / 0.5402 GB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5188, allocations: 40 kB / 0.5403 GB, free: 22.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004851/0.5193, allocations: 386.3 kB / 0.5406 GB, free: 22.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5193, allocations: 0 / 0.5406 GB, free: 22.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001871/0.5212, allocations: 0.5268 MB / 0.5411 GB, free: 21.9 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: 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.008625/0.5298, allocations: 4.146 MB / 0.5452 GB, free: 17.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006056/0.5359, allocations: 2.892 MB / 0.548 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.536, allocations: 0 / 0.548 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004229/0.5402, allocations: 1.867 MB / 0.5498 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009752/0.5412, allocations: 122.8 kB / 0.55 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02454/0.5658, allocations: 13.23 MB / 0.5629 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.5666, allocations: 1.061 MB / 0.5639 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004985/0.5671, allocations: 127.2 kB / 0.564 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/0.5676, allocations: 371.3 kB / 0.5644 GB, free: 13.93 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5676, allocations: 0 / 0.5644 GB, free: 13.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09396/0.6616, allocations: 44.07 MB / 0.6074 GB, free: 2.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.33, allocations: 17.53 kB / 0.6074 GB, free: 2.059 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)