Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.001463/0.001463, allocations: 101.5 kB / 16.31 MB, free: 6.391 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.001643/0.001643, allocations: 188.5 kB / 17.24 MB, free: 5.922 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: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04338/0.04338, allocations: 8.097 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1802, allocations: 51.51 MB / 413.4 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.002975/0.1832, allocations: 2.892 MB / 416.2 MB, free: 22.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1849, allocations: 1.664 MB / 417.9 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.185, allocations: 8 kB / 417.9 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.1854, allocations: 174.9 kB / 418.1 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.1858, allocations: 234.4 kB / 418.3 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1873, allocations: 1.24 MB / 419.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.1876, allocations: 0.4977 MB / 420.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1879, allocations: 220.2 kB / 420.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.188, allocations: 203.3 kB / 420.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1882, allocations: 258.9 kB / 420.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.1882, allocations: 47.98 kB / 420.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1886, allocations: 287.7 kB / 421 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.1886, allocations: 95.69 kB / 421.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1888, allocations: 250.7 kB / 421.4 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.1893, allocations: 0.6815 MB / 422.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1893, allocations: 4 kB / 422.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1893, allocations: 0 / 422.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1893, allocations: 4 kB / 422.1 MB, free: 16.8 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.004458/0.1938, allocations: 1.435 MB / 423.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1938, allocations: 15.89 kB / 423.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.143e-05/0.1939, allocations: 74.72 kB / 423.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.194, allocations: 60.27 kB / 423.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.1943, allocations: 355.3 kB / 424 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1944, allocations: 33.38 kB / 424 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.1944, allocations: 48.38 kB / 424.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.1951, allocations: 0.5581 MB / 424.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1951, allocations: 3.938 kB / 424.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.1951, allocations: 16 kB / 424.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1951, allocations: 8 kB / 424.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.1957, allocations: 475.8 kB / 425.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.1977, allocations: 2.21 MB / 427.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.1984, allocations: 0.6454 MB / 428 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.1987, allocations: 264.8 kB / 428.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.1987, allocations: 11.94 kB / 428.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.1988, allocations: 34.56 kB / 428.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.1988, allocations: 4 kB / 428.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006016/0.2048, allocations: 1.826 MB / 430.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2048, allocations: 118.8 kB / 430.2 MB, free: 8.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.205, allocations: 274.8 kB / 430.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.2051, allocations: 37.7 kB / 430.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.2051, allocations: 197.1 kB / 430.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.2052, allocations: 149.8 kB / 430.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.2054, allocations: 106.2 kB / 431 MB, free: 7.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.2054, allocations: 342.8 kB / 431.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.2057, allocations: 273 kB / 431.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.2061, allocations: 328.6 kB / 431.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.2067, allocations: 0.5983 MB / 432.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2067, allocations: 0 / 432.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002815/0.2096, allocations: 1.209 MB / 433.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2096, allocations: 4 kB / 433.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2096, allocations: 0 / 433.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.2127, allocations: 0.7684 MB / 434.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.213, allocations: 99.81 kB / 434.6 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/0.2185, allocations: 3.896 MB / 438.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.2189, allocations: 51.52 kB / 438.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.219, allocations: 19.98 kB / 438.6 MB, free: 15.68 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.2192, allocations: 165.8 kB / 438.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.2193, allocations: 39.47 kB / 438.8 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.2225, allocations: 1.156 MB / 439.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2225, allocations: 11.94 kB / 439.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.2225, allocations: 0 / 439.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2225, allocations: 0 / 439.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.2261, allocations: 1.755 MB / 441.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2261, allocations: 0 / 441.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2263, allocations: 55.92 kB / 441.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/0.2296, allocations: 0.7493 MB / 442.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.2296, allocations: 11.94 kB / 442.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006052/0.2357, allocations: 3.854 MB / 446.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2357, allocations: 0 / 446.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.2387, allocations: 1.187 MB / 447.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.2388, allocations: 108.7 kB / 447.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.2388, allocations: 15.94 kB / 447.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.2392, allocations: 23.98 kB / 447.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.2393, allocations: 44.31 kB / 447.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.2393, allocations: 12 kB / 447.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.2395, allocations: 190 kB / 447.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2395, allocations: 4 kB / 447.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.2401, allocations: 195.8 kB / 448.1 MB, free: 5.855 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003253/0.2433, allocations: 1.739 MB / 449.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.2456, allocations: 1 MB / 450.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2456, allocations: 4 kB / 450.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.2472, allocations: 0.6531 MB / 451.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.2475, allocations: 40.81 kB / 451.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/0.2564, allocations: 5.098 MB / 456.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.2567, allocations: 0.8168 MB / 457.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.2569, allocations: 54.92 kB / 457.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.2571, allocations: 143.4 kB / 457.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2571, allocations: 0 / 457.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.93/2.187, allocations: 14.54 MB / 472.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/15.15, allocations: 7.234 kB / 472.2 MB, free: 13.79 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)