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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0009628/0.0009627, allocations: 97.45 kB / 15.73 MB, free: 440 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.001016/0.001016, allocations: 181.1 kB / 16.62 MB, free: 6.422 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.266/1.266, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1393/0.1393, allocations: 8.084 MB / 299.7 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 8 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.09739, allocations: 52.51 MB / 415.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.004901/0.1023, allocations: 5.225 MB / 420.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1047, allocations: 1.429 MB / 422 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.105, allocations: 23.94 kB / 422 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.1054, allocations: 178.9 kB / 422.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008628/0.1063, allocations: 0.5414 MB / 422.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.1083, allocations: 1.168 MB / 423.9 MB, free: 40 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1554/0.2637, allocations: 0.8193 MB / 424.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.2642, allocations: 308.1 kB / 425.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.2645, allocations: 414.9 kB / 425.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005125/0.2651, allocations: 0.5421 MB / 426 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.2652, allocations: 51.69 kB / 426 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.2657, allocations: 251 kB / 426.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.2658, allocations: 186.8 kB / 426.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.266, allocations: 211.9 kB / 426.7 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.2667, allocations: 0.9394 MB / 427.6 MB, free: 34.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.2667, allocations: 3.094 kB / 427.6 MB, free: 34.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2667, allocations: 3.656 kB / 427.6 MB, free: 34.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.2667, allocations: 0 / 427.6 MB, free: 34.99 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.01/0.2767, allocations: 2.79 MB / 430.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2768, allocations: 8.688 kB / 430.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.277, allocations: 132.4 kB / 430.6 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.2772, allocations: 131.2 kB / 430.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/0.2779, allocations: 0.5943 MB / 431.3 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-05/0.278, allocations: 132.8 kB / 431.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.2782, allocations: 91.41 kB / 431.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.2797, allocations: 1.277 MB / 432.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2798, allocations: 2.25 kB / 432.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.2799, allocations: 39.61 kB / 432.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.2799, allocations: 18.53 kB / 432.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.2815, allocations: 1.212 MB / 434 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004935/0.2864, allocations: 5.085 MB / 439.1 MB, free: 31.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.2883, allocations: 2.223 MB / 441.4 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.2884, allocations: 34.44 kB / 441.4 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.2884, allocations: 54.11 kB / 441.4 MB, free: 30.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 2.695e-06/0.2885, allocations: 4 kB / 441.4 MB, free: 30.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.02947/0.3179, allocations: 7.804 MB / 449.2 MB, free: 29.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.318, allocations: 150 kB / 449.4 MB, free: 29.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.3186, allocations: 0.5524 MB / 449.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.3188, allocations: 67.55 kB / 450 MB, free: 28.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3189, allocations: 302.6 kB / 450.3 MB, free: 28.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.3192, allocations: 496.4 kB / 450.8 MB, free: 28.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.3193, allocations: 30.38 kB / 450.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.3194, allocations: 405.9 kB / 451.2 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.3204, allocations: 0.8319 MB / 452.1 MB, free: 27.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.3215, allocations: 0.9491 MB / 453 MB, free: 27.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3227, allocations: 0.9089 MB / 453.9 MB, free: 26.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3227, allocations: 0 / 453.9 MB, free: 26.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008033/0.3307, allocations: 3.619 MB / 457.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3308, allocations: 3.484 kB / 457.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3308, allocations: 2.719 kB / 457.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008829/0.3396, allocations: 2.343 MB / 459.9 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/0.3406, allocations: 215 kB / 460.1 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.3596, allocations: 10.35 MB / 470.4 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.3608, allocations: 139 kB / 470.6 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.361, allocations: 50.52 kB / 470.6 MB, free: 18.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 48} Notification: Performance of prepare postOptimizeDAE: time 0.0005429/0.3616, allocations: 258.8 kB / 470.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.3618, allocations: 104.8 kB / 471 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009278/0.3711, allocations: 3.618 MB / 474.6 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.3712, allocations: 17.28 kB / 474.6 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3712, allocations: 0.8438 kB / 474.6 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.3712, allocations: 7.594 kB / 474.6 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.3824, allocations: 5.125 MB / 479.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3824, allocations: 7.984 kB / 479.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.383, allocations: 166.2 kB / 479.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009194/0.3922, allocations: 2.225 MB / 482.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.3924, allocations: 37.09 kB / 482.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01719/0.4096, allocations: 10.21 MB / 492.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4096, allocations: 4 kB / 492.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008574/0.4182, allocations: 3.519 MB / 495.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.4185, allocations: 195.4 kB / 496.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.4187, allocations: 34.75 kB / 496.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.4197, allocations: 84.55 kB / 496.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/0.4201, allocations: 130.4 kB / 496.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.4202, allocations: 44 kB / 496.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004278/0.4206, allocations: 375.1 kB / 496.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4206, allocations: 2.297 kB / 496.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001484/0.4221, allocations: 0.5231 MB / 497.3 MB, free: 0.5234 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.009192/0.4313, allocations: 4.116 MB / 0.4896 GB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006353/0.4377, allocations: 2.856 MB / 0.4924 GB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.4377, allocations: 0 / 0.4924 GB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004489/0.4422, allocations: 1.818 MB / 0.4942 GB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.4429, allocations: 86.97 kB / 0.4943 GB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.4475, allocations: 2.822 MB / 0.497 GB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.4482, allocations: 1.077 MB / 0.4981 GB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004795/0.4487, allocations: 135.2 kB / 0.4982 GB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/0.4492, allocations: 375.3 kB / 0.4986 GB, free: 3.156 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4492, allocations: 0 / 0.4986 GB, free: 3.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06411/0.5134, allocations: 39.75 MB / 0.5374 GB, free: 11.7 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/0.5137, allocations: 213.1 kB / 0.5376 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.839, allocations: 0 / 0.5376 GB, free: 11.46 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/linux/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) Environment - environmentSimulation: