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.001416/0.001416, allocations: 106.5 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.001618/0.001618, allocations: 200.1 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.236/1.236, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04132/0.04132, allocations: 8.102 MB / 298.9 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 361.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1717, allocations: 51.52 MB / 412.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.001965/0.1737, allocations: 1.648 MB / 414.5 MB, free: 24.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1749, allocations: 1.54 MB / 416 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.175, allocations: 4 kB / 416 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1752, allocations: 103.6 kB / 416.1 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1755, allocations: 127.4 kB / 416.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1768, allocations: 1.109 MB / 417.4 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.177, allocations: 238.9 kB / 417.6 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1771, allocations: 84.14 kB / 417.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.1772, allocations: 95.64 kB / 417.8 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1773, allocations: 135.4 kB / 417.9 MB, free: 20.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1773, allocations: 23.98 kB / 417.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.1776, allocations: 243.8 kB / 418.2 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.1776, allocations: 47.78 kB / 418.2 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.065e-05/0.1777, allocations: 115.5 kB / 418.3 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.178, allocations: 437 kB / 418.8 MB, free: 19.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1781, allocations: 0 / 418.8 MB, free: 19.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1781, allocations: 0 / 418.8 MB, free: 19.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1781, allocations: 0 / 418.8 MB, free: 19.83 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.002466/0.1805, allocations: 0.9092 MB / 419.7 MB, free: 18.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1806, allocations: 15.89 kB / 419.7 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1806, allocations: 50.73 kB / 419.7 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.1807, allocations: 24.66 kB / 419.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1809, allocations: 259.9 kB / 420 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1809, allocations: 16.7 kB / 420 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.181, allocations: 24.36 kB / 420 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.1813, allocations: 285.7 kB / 420.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1813, allocations: 7.875 kB / 420.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.1813, allocations: 12 kB / 420.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1814, allocations: 4 kB / 420.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.1816, allocations: 239.9 kB / 420.6 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1827, allocations: 1.137 MB / 421.7 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.1832, allocations: 314.5 kB / 422 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1834, allocations: 160.8 kB / 422.2 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.1834, allocations: 11.98 kB / 422.2 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.1834, allocations: 30.56 kB / 422.2 MB, free: 16.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.243e-06/0.1834, allocations: 0 / 422.2 MB, free: 16.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002817/0.1863, allocations: 0.9729 MB / 423.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.1863, allocations: 81.05 kB / 423.3 MB, free: 15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1865, allocations: 203.2 kB / 423.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1865, allocations: 37.7 kB / 423.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.1865, allocations: 132.7 kB / 423.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.1866, allocations: 82.75 kB / 423.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.1867, allocations: 73.58 kB / 423.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.674e-05/0.1867, allocations: 330.8 kB / 424.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1869, allocations: 163.9 kB / 424.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1871, allocations: 189.4 kB / 424.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.1875, allocations: 378.4 kB / 424.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1875, allocations: 0 / 424.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001487/0.189, allocations: 0.6847 MB / 425.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.189, allocations: 8 kB / 425.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.189, allocations: 0 / 425.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.1906, allocations: 380.4 kB / 425.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1908, allocations: 55.91 kB / 425.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03674/0.2276, allocations: 2.749 MB / 428.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.228, allocations: 31.88 kB / 428.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.228, allocations: 12 kB / 428.7 MB, free: 9.34 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.0001458/0.2282, allocations: 138.7 kB / 428.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.2282, allocations: 27.64 kB / 428.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.2299, allocations: 0.6481 MB / 429.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2299, allocations: 4 kB / 429.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2299, allocations: 0 / 429.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2299, allocations: 0 / 429.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.2302, allocations: 393.1 kB / 429.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2302, allocations: 0 / 429.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.2304, allocations: 35.98 kB / 430 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.2319, allocations: 380.4 kB / 430.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.232, allocations: 11.92 kB / 430.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.2352, allocations: 2.719 MB / 433.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2352, allocations: 0 / 433.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.2366, allocations: 0.7038 MB / 433.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.2367, allocations: 104.8 kB / 433.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.2367, allocations: 8 kB / 433.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.237, allocations: 19.98 kB / 433.9 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.237, allocations: 11.98 kB / 433.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.237, allocations: 15.98 kB / 433.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.2372, allocations: 151.4 kB / 434.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2372, allocations: 0 / 434.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003937/0.2376, allocations: 99.94 kB / 434.2 MB, free: 3.652 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.001658/0.2392, allocations: 1.259 MB / 435.4 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.2407, allocations: 0.6623 MB / 436.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2407, allocations: 0 / 436.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.2417, allocations: 446.9 kB / 436.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2421, allocations: 24 kB / 436.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.2472, allocations: 3.456 MB / 440 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.2475, allocations: 0.7446 MB / 440.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.2476, allocations: 34.05 kB / 440.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2477, allocations: 71.41 kB / 440.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2477, allocations: 0 / 440.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6186/0.8663, allocations: 8.602 MB / 449.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.8665, allocations: 238 kB / 449.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.579, allocations: 0 / 449.7 MB, free: 4.094 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)