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.006705/0.006705, allocations: 101.4 kB / 15.92 MB, free: 6.281 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.001174/0.001174, allocations: 190.9 kB / 16.83 MB, free: 6.211 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.276/1.276, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1455/0.1455, allocations: 8.089 MB / 298.7 MB, free: 2.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 361.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08803/0.08934, allocations: 51.52 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.007048/0.09642, allocations: 6.451 MB / 419.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.09966, allocations: 1.467 MB / 420.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008106/0.1005, allocations: 20 kB / 420.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008835/0.1014, allocations: 254.8 kB / 420.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.103, allocations: 493.2 kB / 421.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.1057, allocations: 1.377 MB / 422.7 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.1073, allocations: 1.128 MB / 423.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.1079, allocations: 330.2 kB / 424.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.1086, allocations: 462.1 kB / 424.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009224/0.1095, allocations: 0.6224 MB / 425.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.1098, allocations: 72 kB / 425.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008447/0.1106, allocations: 307.8 kB / 425.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.1109, allocations: 226.9 kB / 425.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007362/0.1117, allocations: 0.5323 MB / 426.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.1134, allocations: 1.289 MB / 427.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1134, allocations: 0 / 427.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1134, allocations: 0 / 427.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.464e-05/0.1134, allocations: 0 / 427.6 MB, free: 11.03 MB / 366.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.01283/0.1263, allocations: 2.944 MB / 430.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.1263, allocations: 8.031 kB / 430.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003577/0.1267, allocations: 139.1 kB / 430.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.1271, allocations: 127.5 kB / 430.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.1283, allocations: 0.6126 MB / 431.5 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.1284, allocations: 138.3 kB / 431.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.1287, allocations: 96.38 kB / 431.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.1311, allocations: 1.288 MB / 433 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.1311, allocations: 0 / 433 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.1312, allocations: 40 kB / 433 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1312, allocations: 20 kB / 433 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.1333, allocations: 1.214 MB / 434.3 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1691/0.3025, allocations: 5.039 MB / 439.3 MB, free: 54.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.3047, allocations: 2.227 MB / 441.5 MB, free: 54.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.3058, allocations: 0.9556 MB / 442.5 MB, free: 54.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.3059, allocations: 36.2 kB / 442.5 MB, free: 54.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.306, allocations: 50.25 kB / 442.6 MB, free: 54.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 3.086e-06/0.306, allocations: 0 / 442.6 MB, free: 54.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.02859/0.3346, allocations: 7.941 MB / 450.5 MB, free: 52.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3346, allocations: 145.8 kB / 450.6 MB, free: 52.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.3353, allocations: 0.5595 MB / 451.2 MB, free: 52.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.3354, allocations: 58.92 kB / 451.3 MB, free: 51.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3356, allocations: 303.8 kB / 451.6 MB, free: 51.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.3359, allocations: 0.4937 MB / 452.1 MB, free: 51.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.3363, allocations: 275.9 kB / 452.3 MB, free: 51.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.3364, allocations: 349.4 kB / 452.7 MB, free: 50.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3375, allocations: 0.8302 MB / 453.5 MB, free: 50.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3386, allocations: 0.9617 MB / 454.5 MB, free: 50.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.3409, allocations: 1.869 MB / 456.3 MB, free: 49.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3409, allocations: 0 / 456.3 MB, free: 49.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008229/0.3491, allocations: 3.65 MB / 460 MB, free: 47.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3492, allocations: 8.547 kB / 460 MB, free: 47.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3492, allocations: 0 / 460 MB, free: 47.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008491/0.3577, allocations: 2.334 MB / 462.3 MB, free: 47.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/0.3585, allocations: 218.9 kB / 462.5 MB, free: 47.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.3739, allocations: 9.884 MB / 472.4 MB, free: 41.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/0.3749, allocations: 139.7 kB / 472.6 MB, free: 41.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.375, allocations: 52.44 kB / 472.6 MB, free: 41.57 MB / 366.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.0004349/0.3755, allocations: 260.1 kB / 472.9 MB, free: 41.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.3757, allocations: 99.12 kB / 473 MB, free: 41.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008446/0.3842, allocations: 3.62 MB / 476.6 MB, free: 39.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3842, allocations: 15.88 kB / 476.6 MB, free: 39.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3842, allocations: 1.562 kB / 476.6 MB, free: 39.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3842, allocations: 6.703 kB / 476.6 MB, free: 39.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009686/0.3939, allocations: 5.132 MB / 481.7 MB, free: 37.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3939, allocations: 0 / 481.7 MB, free: 37.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.3944, allocations: 165.4 kB / 481.9 MB, free: 37.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008927/0.4034, allocations: 2.221 MB / 484.1 MB, free: 37.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.4035, allocations: 37.03 kB / 484.1 MB, free: 37.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0163/0.4198, allocations: 9.732 MB / 493.9 MB, free: 31.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4198, allocations: 4.828 kB / 493.9 MB, free: 31.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008227/0.428, allocations: 3.523 MB / 497.4 MB, free: 30.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4282, allocations: 198 kB / 497.6 MB, free: 29.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.4284, allocations: 28.52 kB / 497.6 MB, free: 29.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.4291, allocations: 73.31 kB / 497.7 MB, free: 29.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/0.4295, allocations: 130.7 kB / 497.8 MB, free: 29.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.4296, allocations: 46.44 kB / 497.9 MB, free: 29.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004067/0.43, allocations: 383.9 kB / 498.2 MB, free: 29.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.43, allocations: 3.938 kB / 498.3 MB, free: 29.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001164/0.4312, allocations: 0.5255 MB / 498.8 MB, free: 29.64 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.008082/0.4393, allocations: 4.123 MB / 0.4911 GB, free: 27.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004765/0.4441, allocations: 2.862 MB / 0.4939 GB, free: 24.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4441, allocations: 0 / 0.4939 GB, free: 24.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00332/0.4474, allocations: 1.823 MB / 0.4957 GB, free: 23.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.448, allocations: 107 kB / 0.4958 GB, free: 23.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/0.4698, allocations: 13.97 MB / 0.5094 GB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.4701, allocations: 1.054 MB / 0.5105 GB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003713/0.4705, allocations: 129.6 kB / 0.5106 GB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.4708, allocations: 375.3 kB / 0.5109 GB, free: 7.285 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4708, allocations: 0 / 0.5109 GB, free: 7.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5134/0.9843, allocations: 41.54 MB / 0.5515 GB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/0.9846, allocations: 246.8 kB / 0.5517 GB, free: 13.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.651, allocations: 0 / 0.5517 GB, free: 13.73 MB / 414.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)