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.001229/0.00123, allocations: 107.4 kB / 16.03 MB, free: 6.32 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.001275/0.001275, allocations: 192.4 kB / 16.95 MB, free: 6.145 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.308/1.308, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04637/0.04637, allocations: 8.103 MB / 298.9 MB, free: 6.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 64.14 kB / 361.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1701, allocations: 51.51 MB / 412.8 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.004532/0.1746, allocations: 6.444 MB / 419.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1764, allocations: 1.463 MB / 420.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.1767, allocations: 16 kB / 420.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.1771, allocations: 250.8 kB / 421 MB, free: 17.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007537/0.1779, allocations: 0.4894 MB / 421.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.1797, allocations: 1.341 MB / 422.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007466/0.1804, allocations: 1.159 MB / 424 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.1808, allocations: 400.8 kB / 424.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.1811, allocations: 494.1 kB / 424.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.1815, allocations: 0.638 MB / 425.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.469e-05/0.1816, allocations: 100 kB / 425.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.182, allocations: 327.8 kB / 425.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1821, allocations: 246.9 kB / 426.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.1824, allocations: 0.5635 MB / 426.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007688/0.1832, allocations: 1.304 MB / 428 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1832, allocations: 0 / 428 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1832, allocations: 0 / 428 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1832, allocations: 4 kB / 428 MB, free: 10.49 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.009804/0.193, allocations: 2.944 MB / 431 MB, free: 7.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1931, allocations: 11.89 kB / 431 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.1932, allocations: 131.2 kB / 431.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.1934, allocations: 131.5 kB / 431.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.194, allocations: 0.6164 MB / 431.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.1941, allocations: 130.3 kB / 432 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1942, allocations: 100.4 kB / 432.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.1958, allocations: 1.291 MB / 433.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1958, allocations: 0 / 433.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/0.1959, allocations: 36 kB / 433.4 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.196, allocations: 23.94 kB / 433.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.1973, allocations: 1.218 MB / 434.7 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005015/0.2023, allocations: 5.035 MB / 439.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.2047, allocations: 2.23 MB / 441.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.2059, allocations: 0.9586 MB / 442.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.206, allocations: 41.25 kB / 442.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2061, allocations: 47.88 kB / 443 MB, free: 10.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 2.675e-06/0.2061, allocations: 4 kB / 443 MB, free: 10.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03107/0.2372, allocations: 7.934 MB / 450.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.2372, allocations: 149.8 kB / 451.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.2378, allocations: 0.5585 MB / 451.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.238, allocations: 61.64 kB / 451.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.2381, allocations: 306.3 kB / 452 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.2385, allocations: 496.7 kB / 452.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.2389, allocations: 279.5 kB / 452.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.239, allocations: 341.9 kB / 453.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.2402, allocations: 0.8318 MB / 453.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.2415, allocations: 0.9659 MB / 454.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.244, allocations: 1.865 MB / 456.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.244, allocations: 0 / 456.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008866/0.2529, allocations: 3.651 MB / 460.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2529, allocations: 11.98 kB / 460.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2529, allocations: 0 / 460.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009313/0.2622, allocations: 2.35 MB / 462.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.263, allocations: 215.7 kB / 462.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/0.2808, allocations: 10.84 MB / 473.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/0.2817, allocations: 150.4 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.2818, allocations: 51.98 kB / 474 MB, free: 11.57 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.0003683/0.2822, allocations: 253.7 kB / 474.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.2824, allocations: 98.78 kB / 474.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009115/0.2915, allocations: 3.613 MB / 477.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2915, allocations: 16 kB / 478 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2915, allocations: 0 / 478 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.2916, allocations: 7.969 kB / 478 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.3018, allocations: 5.138 MB / 483.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3019, allocations: 0 / 483.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.3024, allocations: 163.8 kB / 483.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009135/0.3115, allocations: 2.233 MB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.707e-05/0.3116, allocations: 39.92 kB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01735/0.329, allocations: 10.68 MB / 496.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.329, allocations: 8 kB / 496.2 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008571/0.3376, allocations: 3.526 MB / 499.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.3377, allocations: 199.4 kB / 499.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.3379, allocations: 27.94 kB / 500 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/0.3387, allocations: 75.89 kB / 0.4883 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/0.339, allocations: 126.4 kB / 0.4884 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/0.3391, allocations: 47.98 kB / 0.4885 GB, free: 1.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003906/0.3395, allocations: 383.1 kB / 0.4889 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3395, allocations: 0 / 0.4889 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00109/0.3406, allocations: 0.5231 MB / 0.4894 GB, free: 152 kB / 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.008701/0.3493, allocations: 4.126 MB / 0.4934 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006484/0.3558, allocations: 2.928 MB / 0.4963 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3558, allocations: 7.938 kB / 0.4963 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/0.3596, allocations: 1.858 MB / 0.4981 GB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.3603, allocations: 118.9 kB / 0.4982 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1506/0.5109, allocations: 13.97 MB / 0.5118 GB, free: 90.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.5114, allocations: 1.057 MB / 0.5129 GB, free: 89.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004786/0.5119, allocations: 130.6 kB / 0.513 GB, free: 89.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000648/0.5125, allocations: 374.3 kB / 0.5133 GB, free: 89.14 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5126, allocations: 0 / 0.5133 GB, free: 89.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/0.7978, allocations: 43.45 MB / 0.5558 GB, free: 52.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.7981, allocations: 240.2 kB / 0.556 GB, free: 52.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.41, allocations: 0 / 0.556 GB, free: 52.19 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)