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.000711/0.000711, allocations: 96.78 kB / 15.74 MB, free: 424 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.0007504/0.0007505, allocations: 170.5 kB / 16.62 MB, free: 6.434 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.258/1.258, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1483/0.1483, allocations: 8.08 MB / 299.8 MB, free: 2.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002706, allocations: 12 kB / 363 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.0829, allocations: 52.51 MB / 415.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.00476/0.08769, allocations: 5.616 MB / 421.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.08969, allocations: 1.374 MB / 422.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.08993, allocations: 16 kB / 422.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.09029, allocations: 190.8 kB / 422.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007529/0.09105, allocations: 485.1 kB / 423.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1628/0.2538, allocations: 1.137 MB / 424.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.2552, allocations: 1.061 MB / 425.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.2556, allocations: 314.5 kB / 425.6 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.2559, allocations: 420.3 kB / 426.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.2564, allocations: 0.5693 MB / 426.6 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.421e-05/0.2565, allocations: 53.31 kB / 426.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.257, allocations: 279.9 kB / 426.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.2572, allocations: 183.5 kB / 427.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.2573, allocations: 215.7 kB / 427.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.258, allocations: 0.9508 MB / 428.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.258, allocations: 0 / 428.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.258, allocations: 3.422 kB / 428.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.2581, allocations: 0 / 428.3 MB, free: 34.65 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.009353/0.2674, allocations: 2.791 MB / 431.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.2675, allocations: 9.875 kB / 431.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003739/0.2679, allocations: 133.1 kB / 431.2 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.2681, allocations: 129.3 kB / 431.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.2689, allocations: 0.6028 MB / 432 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.269, allocations: 131.5 kB / 432.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2692, allocations: 92.19 kB / 432.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.271, allocations: 1.284 MB / 433.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.271, allocations: 0 / 433.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.2711, allocations: 42.45 kB / 433.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.2711, allocations: 21.94 kB / 433.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.2727, allocations: 1.21 MB / 434.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.2775, allocations: 5.066 MB / 439.8 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.2794, allocations: 2.225 MB / 442 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.2805, allocations: 0.9503 MB / 443 MB, free: 29.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.2806, allocations: 35.22 kB / 443 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.2806, allocations: 56.94 kB / 443.1 MB, free: 29.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 3.126e-06/0.2807, allocations: 0 / 443.1 MB, free: 29.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.02525/0.3059, allocations: 7.773 MB / 450.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.306, allocations: 146.2 kB / 451 MB, free: 27.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.3066, allocations: 0.5573 MB / 451.5 MB, free: 27.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.3067, allocations: 58.02 kB / 451.6 MB, free: 27.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3069, allocations: 310.9 kB / 451.9 MB, free: 27.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.3072, allocations: 498.7 kB / 452.4 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.3072, allocations: 30.06 kB / 452.4 MB, free: 26.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.3073, allocations: 411.8 kB / 452.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.3084, allocations: 0.828 MB / 453.6 MB, free: 26.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.3094, allocations: 0.9554 MB / 454.6 MB, free: 25.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.3106, allocations: 0.91 MB / 455.5 MB, free: 25.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3106, allocations: 0 / 455.5 MB, free: 25.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007354/0.318, allocations: 3.622 MB / 459.1 MB, free: 23.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.318, allocations: 3.062 kB / 459.1 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.318, allocations: 0 / 459.1 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008114/0.3261, allocations: 2.338 MB / 461.5 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.3271, allocations: 213.5 kB / 461.7 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.3436, allocations: 9.886 MB / 471.6 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.3447, allocations: 134.5 kB / 471.7 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.3449, allocations: 55.31 kB / 471.7 MB, free: 17.59 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.000464/0.3454, allocations: 258.1 kB / 472 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.3456, allocations: 99.56 kB / 472.1 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00853/0.3541, allocations: 3.614 MB / 475.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.3542, allocations: 17.69 kB / 475.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3542, allocations: 0 / 475.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.3542, allocations: 13.44 kB / 475.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.3645, allocations: 5.118 MB / 480.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.3645, allocations: 0.6562 kB / 480.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.3651, allocations: 169.4 kB / 481 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007854/0.3729, allocations: 2.242 MB / 483.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/0.3731, allocations: 29.83 kB / 483.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/0.3878, allocations: 9.718 MB / 493 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3878, allocations: 4 kB / 493 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007544/0.3954, allocations: 3.515 MB / 496.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.3957, allocations: 199.4 kB / 496.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.3959, allocations: 26.62 kB / 496.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/0.3967, allocations: 90.19 kB / 496.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.3971, allocations: 130.3 kB / 497 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.3972, allocations: 47.98 kB / 497 MB, free: 440 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.3976, allocations: 375.1 kB / 497.4 MB, free: 68 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3976, allocations: 0 / 497.4 MB, free: 68 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001564/0.3992, allocations: 0.5196 MB / 497.9 MB, free: 15.54 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 (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.008361/0.4075, allocations: 4.12 MB / 0.4903 GB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00581/0.4134, allocations: 2.849 MB / 0.493 GB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.4134, allocations: 4 kB / 0.493 GB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00393/0.4173, allocations: 1.817 MB / 0.4948 GB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.4182, allocations: 116.4 kB / 0.4949 GB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/0.4346, allocations: 8.771 MB / 0.5035 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.4354, allocations: 1.054 MB / 0.5045 GB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005629/0.436, allocations: 131.2 kB / 0.5046 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.4365, allocations: 367.3 kB / 0.505 GB, free: 12.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4365, allocations: 0 / 0.505 GB, free: 12.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06081/0.4973, allocations: 40.12 MB / 0.5442 GB, free: 4.262 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.4975, allocations: 226.4 kB / 0.5444 GB, free: 4.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.769, allocations: 4 kB / 0.5444 GB, free: 4.016 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: