Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.001428/0.001428, allocations: 107.9 kB / 16.32 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.001633/0.001633, allocations: 186.2 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05237/0.05237, allocations: 8.092 MB / 299.2 MB, free: 6.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.89 kB / 361.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1873, allocations: 51.5 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002149/0.1894, allocations: 1.61 MB / 415 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1907, allocations: 1.539 MB / 416.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.1908, allocations: 4 kB / 416.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1911, allocations: 131.3 kB / 416.6 MB, free: 22.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.1914, allocations: 139.1 kB / 416.8 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.1928, allocations: 1.162 MB / 417.9 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1931, allocations: 238.9 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1932, allocations: 88.09 kB / 418.2 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.1933, allocations: 95.7 kB / 418.3 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1935, allocations: 127.4 kB / 418.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1935, allocations: 16 kB / 418.5 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.1938, allocations: 251.8 kB / 418.7 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.1939, allocations: 51.77 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.1939, allocations: 115.5 kB / 418.9 MB, free: 20 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.1943, allocations: 433 kB / 419.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1943, allocations: 4 kB / 419.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1943, allocations: 0 / 419.3 MB, free: 19.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1944, allocations: 0 / 419.3 MB, free: 19.58 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002717/0.1971, allocations: 0.9085 MB / 420.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1971, allocations: 11.89 kB / 420.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.1972, allocations: 54.73 kB / 420.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.1972, allocations: 24.66 kB / 420.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1974, allocations: 259.9 kB / 420.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1975, allocations: 16.7 kB / 420.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1975, allocations: 24.36 kB / 420.6 MB, free: 18.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.1979, allocations: 285.7 kB / 420.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1979, allocations: 7.922 kB / 420.9 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1979, allocations: 8 kB / 420.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1979, allocations: 4 kB / 420.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.1982, allocations: 247.9 kB / 421.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.1994, allocations: 1.137 MB / 422.3 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.2, allocations: 307.3 kB / 422.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.2002, allocations: 152.8 kB / 422.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.2002, allocations: 11.98 kB / 422.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.2002, allocations: 42.5 kB / 422.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.2002, allocations: 0 / 422.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002906/0.2031, allocations: 0.9613 MB / 423.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2032, allocations: 89.05 kB / 423.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.2033, allocations: 203.2 kB / 424 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2034, allocations: 29.7 kB / 424.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.2034, allocations: 136.7 kB / 424.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.2035, allocations: 82.75 kB / 424.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.2036, allocations: 77.58 kB / 424.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.2036, allocations: 326.8 kB / 424.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2038, allocations: 163.9 kB / 424.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.2041, allocations: 197.3 kB / 425 MB, free: 13.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.2045, allocations: 374.4 kB / 425.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2045, allocations: 0 / 425.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001581/0.2061, allocations: 0.6887 MB / 426.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2061, allocations: 7.938 kB / 426.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2061, allocations: 4 kB / 426.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.2078, allocations: 380.4 kB / 426.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.208, allocations: 55.91 kB / 426.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/0.2118, allocations: 2.751 MB / 429.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.2121, allocations: 27.75 kB / 429.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2121, allocations: 12 kB / 429.3 MB, free: 9.086 MB / 302.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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.2122, allocations: 138.7 kB / 429.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.2123, allocations: 27.64 kB / 429.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.2139, allocations: 0.6483 MB / 430.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2139, allocations: 8 kB / 430.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.2139, allocations: 0 / 430.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2139, allocations: 0 / 430.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.2142, allocations: 397.1 kB / 430.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2142, allocations: 0 / 430.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2144, allocations: 39.92 kB / 430.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.2159, allocations: 372.4 kB / 430.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.216, allocations: 7.938 kB / 430.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003347/0.2193, allocations: 2.715 MB / 433.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2194, allocations: 0 / 433.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.2209, allocations: 0.7031 MB / 434.3 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.2209, allocations: 104.8 kB / 434.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.221, allocations: 4 kB / 434.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.2212, allocations: 23.08 kB / 434.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.2213, allocations: 11.98 kB / 434.5 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.2213, allocations: 15.98 kB / 434.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.2214, allocations: 155.4 kB / 434.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2214, allocations: 0 / 434.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003854/0.2218, allocations: 99.94 kB / 434.7 MB, free: 3.402 MB / 302.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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.2235, allocations: 1.267 MB / 436 MB, free: 2.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.2249, allocations: 0.6584 MB / 436.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2249, allocations: 4 kB / 436.7 MB, free: 1.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.226, allocations: 454.5 kB / 437.1 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2263, allocations: 22.75 kB / 437.1 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.2316, allocations: 3.356 MB / 440.5 MB, free: 13.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2319, allocations: 0.7523 MB / 441.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.2321, allocations: 29.92 kB / 441.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2322, allocations: 67.41 kB / 441.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2322, allocations: 4 kB / 441.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.2604, allocations: 8.695 MB / 450 MB, free: 4.051 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.28, allocations: 18.27 kB / 450.1 MB, free: 4.035 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)