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.001161/0.001161, allocations: 102.6 kB / 16.31 MB, free: 6.359 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.001162/0.001162, allocations: 184.6 kB / 17.24 MB, free: 5.879 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04754/0.04754, allocations: 8.093 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 361.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2241, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.006376/0.2305, allocations: 6.487 MB / 419.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.2329, allocations: 1.479 MB / 421.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.2332, allocations: 16 kB / 421.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.2338, allocations: 306 kB / 421.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009227/0.2347, allocations: 0.5472 MB / 422.2 MB, free: 16.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.2368, allocations: 1.422 MB / 423.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009725/0.2378, allocations: 1.151 MB / 424.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.2382, allocations: 404.8 kB / 425.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.2386, allocations: 494.1 kB / 425.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.2391, allocations: 0.638 MB / 426.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.2392, allocations: 100 kB / 426.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.2397, allocations: 335.7 kB / 426.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2399, allocations: 246.9 kB / 426.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.2402, allocations: 0.5596 MB / 427.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.2411, allocations: 1.3 MB / 428.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2412, allocations: 4 kB / 428.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2412, allocations: 0 / 428.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.2412, allocations: 4 kB / 428.8 MB, free: 10.07 MB / 302.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.01062/0.2518, allocations: 2.944 MB / 431.7 MB, free: 7.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2519, allocations: 15.88 kB / 431.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.252, allocations: 127.2 kB / 431.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.2523, allocations: 127.5 kB / 432 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.253, allocations: 0.6241 MB / 432.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.2531, allocations: 130.3 kB / 432.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.2532, allocations: 104.3 kB / 432.9 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.2549, allocations: 1.284 MB / 434.1 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.2549, allocations: 0 / 434.1 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.714e-05/0.255, allocations: 36 kB / 434.2 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.255, allocations: 20 kB / 434.2 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.2565, allocations: 1.218 MB / 435.4 MB, free: 3.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005417/0.2619, allocations: 5.035 MB / 440.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.2645, allocations: 2.234 MB / 442.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.2657, allocations: 0.9562 MB / 443.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.2658, allocations: 37.27 kB / 443.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.2659, allocations: 43.88 kB / 443.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 3.267e-06/0.2659, allocations: 0 / 443.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03246/0.2984, allocations: 7.942 MB / 451.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.2985, allocations: 149.8 kB / 451.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/0.2993, allocations: 0.5624 MB / 452.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.2995, allocations: 61.64 kB / 452.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2997, allocations: 302.3 kB / 452.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/0.3002, allocations: 496.7 kB / 453.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000485/0.3007, allocations: 279.5 kB / 453.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3008, allocations: 341.9 kB / 453.8 MB, free: 232 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.3021, allocations: 0.8318 MB / 454.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.3035, allocations: 0.9659 MB / 455.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.3062, allocations: 1.869 MB / 457.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3062, allocations: 0 / 457.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009332/0.3155, allocations: 3.651 MB / 461.1 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3156, allocations: 8 kB / 461.1 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3156, allocations: 0 / 461.1 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009841/0.3254, allocations: 2.354 MB / 463.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/0.3264, allocations: 211.7 kB / 463.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.347, allocations: 10.84 MB / 474.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3483, allocations: 142.5 kB / 474.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/0.3486, allocations: 51.98 kB / 474.7 MB, free: 11.16 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 (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.0006993/0.3493, allocations: 253.7 kB / 475 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.3497, allocations: 98.78 kB / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009668/0.3593, allocations: 3.613 MB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.3594, allocations: 19.94 kB / 478.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3594, allocations: 0 / 478.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/0.3594, allocations: 7.969 kB / 478.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.371, allocations: 5.135 MB / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.371, allocations: 0 / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.3717, allocations: 163.8 kB / 484 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009675/0.3814, allocations: 2.24 MB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002899/0.3817, allocations: 31.98 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/0.4018, allocations: 10.68 MB / 497 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4018, allocations: 8 kB / 497 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009588/0.4114, allocations: 3.526 MB / 0.4888 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.4119, allocations: 199.4 kB / 0.489 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.4121, allocations: 27.94 kB / 0.489 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/0.4131, allocations: 71.95 kB / 0.4891 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004703/0.4136, allocations: 134.3 kB / 0.4892 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.4137, allocations: 47.98 kB / 0.4892 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005143/0.4142, allocations: 383.1 kB / 0.4896 GB, free: 264 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4143, allocations: 0 / 0.4896 GB, free: 264 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001542/0.4158, allocations: 0.5193 MB / 0.4901 GB, free: 15.73 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.009488/0.4253, allocations: 4.126 MB / 0.4941 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007332/0.4327, allocations: 2.944 MB / 0.497 GB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4327, allocations: 4 kB / 0.497 GB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00474/0.4374, allocations: 1.855 MB / 0.4988 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.4384, allocations: 126.8 kB / 0.4989 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1859/0.6243, allocations: 13.56 MB / 0.5122 GB, free: 90.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.6249, allocations: 1.056 MB / 0.5132 GB, free: 89.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005172/0.6255, allocations: 136.1 kB / 0.5133 GB, free: 89.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.6259, allocations: 370.5 kB / 0.5137 GB, free: 89 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6259, allocations: 1.375 kB / 0.5137 GB, free: 89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06258/0.6885, allocations: 43.59 MB / 0.5563 GB, free: 52.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.14, allocations: 7.844 kB / 0.5563 GB, free: 52.1 MB / 382.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)