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.001233/0.001233, allocations: 104.9 kB / 16.45 MB, free: 6.445 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.001171/0.001171, allocations: 192.7 kB / 17.39 MB, free: 5.668 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04916/0.04916, allocations: 8.093 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.11 kB / 414 MB, free: 22.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09426, allocations: 51.51 MB / 465.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.007574/0.1019, allocations: 6.484 MB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003415/0.1053, allocations: 1.486 MB / 473.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009198/0.1063, allocations: 16 kB / 473.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009748/0.1073, allocations: 302 kB / 473.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.1092, allocations: 0.5549 MB / 474.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.1121, allocations: 1.424 MB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.1139, allocations: 1.175 MB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.1146, allocations: 396.8 kB / 477.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007736/0.1154, allocations: 0.4903 MB / 477.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.1165, allocations: 0.642 MB / 478.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.1168, allocations: 99.94 kB / 478.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009231/0.1177, allocations: 331.8 kB / 478.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.118, allocations: 243 kB / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008358/0.1189, allocations: 0.5597 MB / 479.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.1207, allocations: 1.321 MB / 481 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1207, allocations: 0 / 481 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1207, allocations: 4 kB / 481 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.308e-05/0.1208, allocations: 0 / 481 MB, free: 3.062 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.01175/0.1325, allocations: 2.94 MB / 483.9 MB, free: 68 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1326, allocations: 15.89 kB / 484 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002781/0.1329, allocations: 139.2 kB / 484.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.1332, allocations: 123.5 kB / 484.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.1342, allocations: 0.6164 MB / 484.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.1344, allocations: 130.3 kB / 485 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.1346, allocations: 100.4 kB / 485.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.1367, allocations: 1.287 MB / 486.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1368, allocations: 0 / 486.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.1369, allocations: 40 kB / 486.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.1369, allocations: 20 kB / 486.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.1388, allocations: 1.214 MB / 487.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006679/0.1455, allocations: 5.015 MB / 492.6 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.1481, allocations: 2.226 MB / 494.9 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.1493, allocations: 0.9562 MB / 495.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.1495, allocations: 33.27 kB / 495.8 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1495, allocations: 55.81 kB / 495.9 MB, free: 3.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 3.957e-06/0.1495, allocations: 3.984 kB / 495.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.03178/0.1813, allocations: 7.938 MB / 0.492 GB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.1815, allocations: 145.8 kB / 0.4922 GB, free: 11.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.1823, allocations: 0.5624 MB / 0.4927 GB, free: 10.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.1825, allocations: 61.7 kB / 0.4928 GB, free: 10.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.1827, allocations: 306.3 kB / 0.4931 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.1832, allocations: 0.4888 MB / 0.4936 GB, free: 9.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005062/0.1837, allocations: 279.5 kB / 0.4938 GB, free: 9.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1838, allocations: 341.9 kB / 0.4941 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.1851, allocations: 0.8318 MB / 0.495 GB, free: 8.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.1865, allocations: 0.9659 MB / 0.4959 GB, free: 7.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.1893, allocations: 1.873 MB / 0.4977 GB, free: 5.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.1893, allocations: 0 / 0.4977 GB, free: 5.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009045/0.1984, allocations: 3.651 MB / 0.5013 GB, free: 1.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.1984, allocations: 8 kB / 0.5013 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1984, allocations: 0 / 0.5013 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2099/0.4083, allocations: 2.328 MB / 0.5036 GB, free: 43.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4094, allocations: 213.3 kB / 0.5038 GB, free: 43.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.4289, allocations: 10.82 MB / 0.5143 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4302, allocations: 150.7 kB / 0.5145 GB, free: 38.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.4303, allocations: 52.3 kB / 0.5145 GB, free: 38.48 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.0004055/0.4307, allocations: 253.3 kB / 0.5148 GB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.4309, allocations: 99.17 kB / 0.5149 GB, free: 38.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009306/0.4402, allocations: 3.613 MB / 0.5184 GB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.4403, allocations: 17.23 kB / 0.5184 GB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4403, allocations: 3.438 kB / 0.5184 GB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.4403, allocations: 9.391 kB / 0.5184 GB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.4513, allocations: 5.123 MB / 0.5234 GB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.4513, allocations: 0 / 0.5234 GB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.4519, allocations: 166.2 kB / 0.5236 GB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008806/0.4607, allocations: 2.221 MB / 0.5258 GB, free: 34.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.4609, allocations: 37.41 kB / 0.5258 GB, free: 34.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/0.4782, allocations: 10.66 MB / 0.5362 GB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4782, allocations: 8 kB / 0.5362 GB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008206/0.4864, allocations: 3.533 MB / 0.5397 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.4868, allocations: 195.5 kB / 0.5398 GB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.487, allocations: 27.98 kB / 0.5399 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00097/0.488, allocations: 77.98 kB / 0.5399 GB, free: 23.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004049/0.4884, allocations: 126.4 kB / 0.5401 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.4886, allocations: 51.98 kB / 0.5401 GB, free: 22.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004749/0.489, allocations: 379.1 kB / 0.5405 GB, free: 22.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.4891, allocations: 0 / 0.5405 GB, free: 22.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001674/0.4907, allocations: 0.5266 MB / 0.541 GB, free: 21.94 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.008466/0.4992, allocations: 4.144 MB / 0.545 GB, free: 17.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005775/0.505, allocations: 2.889 MB / 0.5479 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.505, allocations: 8 kB / 0.5479 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003845/0.5089, allocations: 1.848 MB / 0.5497 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.5098, allocations: 121.1 kB / 0.5498 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/0.5344, allocations: 13.19 MB / 0.5627 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.5352, allocations: 1.054 MB / 0.5637 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004985/0.5358, allocations: 135.2 kB / 0.5638 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/0.5363, allocations: 371.3 kB / 0.5642 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5363, allocations: 0 / 0.5642 GB, free: 14.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.6386, allocations: 45.75 MB / 0.6089 GB, free: 496 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.99, allocations: 21.22 kB / 0.6089 GB, free: 484 kB / 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)