Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.001274/0.001274, allocations: 104.7 kB / 16.03 MB, free: 6.332 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.001422/0.001422, allocations: 200.6 kB / 16.95 MB, free: 6.152 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.272/1.272, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04735/0.04735, allocations: 8.102 MB / 298.9 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 361.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1799, allocations: 51.51 MB / 412.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.002727/0.1826, allocations: 2.71 MB / 415.5 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1841, allocations: 1.617 MB / 417.2 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1842, allocations: 8 kB / 417.2 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.1846, allocations: 155.3 kB / 417.3 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.185, allocations: 194.9 kB / 417.5 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1866, allocations: 1.158 MB / 418.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.1869, allocations: 449.9 kB / 419.1 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1871, allocations: 168.2 kB / 419.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1872, allocations: 191.3 kB / 419.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1874, allocations: 235 kB / 419.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.1875, allocations: 36 kB / 419.7 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.1878, allocations: 275.7 kB / 420 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.1879, allocations: 91.62 kB / 420.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.188, allocations: 230.8 kB / 420.3 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.1885, allocations: 0.6154 MB / 420.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1885, allocations: 0 / 420.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1885, allocations: 0 / 420.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1885, allocations: 0 / 420.9 MB, free: 17.64 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004661/0.1932, allocations: 1.404 MB / 422.3 MB, free: 16.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1932, allocations: 19.89 kB / 422.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.712e-05/0.1933, allocations: 74.72 kB / 422.4 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.176e-05/0.1934, allocations: 44.47 kB / 422.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1937, allocations: 339.4 kB / 422.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1937, allocations: 33.03 kB / 422.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.1938, allocations: 36.38 kB / 422.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.1944, allocations: 0.5178 MB / 423.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1944, allocations: 3.938 kB / 423.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.1945, allocations: 16 kB / 423.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1945, allocations: 8 kB / 423.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.195, allocations: 450.5 kB / 423.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.1971, allocations: 2.111 MB / 426 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007394/0.1979, allocations: 0.5816 MB / 426.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.1982, allocations: 264.8 kB / 426.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-05/0.1982, allocations: 19.97 kB / 426.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.1983, allocations: 50.44 kB / 426.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.493e-06/0.1983, allocations: 0 / 426.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006343/0.2046, allocations: 1.822 MB / 428.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.2047, allocations: 106.8 kB / 428.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.2049, allocations: 274.9 kB / 429.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.2049, allocations: 33.7 kB / 429.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.205, allocations: 192.6 kB / 429.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.2051, allocations: 145.8 kB / 429.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.2053, allocations: 102.2 kB / 429.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.2054, allocations: 342.8 kB / 429.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.2057, allocations: 289 kB / 430.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.2061, allocations: 336.6 kB / 430.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.2068, allocations: 0.6294 MB / 431.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2068, allocations: 4 kB / 431.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003214/0.2101, allocations: 1.241 MB / 432.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2101, allocations: 8 kB / 432.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2101, allocations: 4 kB / 432.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/0.2135, allocations: 0.7734 MB / 433.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.2139, allocations: 87.89 kB / 433.2 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.22, allocations: 4.051 MB / 437.3 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.2204, allocations: 59.45 kB / 437.3 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.2205, allocations: 19.98 kB / 437.3 MB, free: 0.5898 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 (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.0001781/0.2207, allocations: 169.7 kB / 437.5 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.2208, allocations: 31.62 kB / 437.5 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/0.2242, allocations: 1.195 MB / 438.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2242, allocations: 8 kB / 438.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2243, allocations: 0 / 438.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2243, allocations: 0 / 438.7 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.2282, allocations: 1.79 MB / 440.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2282, allocations: 11.88 kB / 440.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.2284, allocations: 59.97 kB / 440.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003528/0.2319, allocations: 0.7527 MB / 441.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.232, allocations: 11.98 kB / 441.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0068/0.2388, allocations: 4.023 MB / 445.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2388, allocations: 160 / 445.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/0.2421, allocations: 1.214 MB / 446.6 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.2422, allocations: 116.6 kB / 446.7 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.2423, allocations: 11.94 kB / 446.7 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.2427, allocations: 23.98 kB / 446.8 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2428, allocations: 36.39 kB / 446.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.2429, allocations: 12 kB / 446.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.2431, allocations: 197.9 kB / 447 MB, free: 6.672 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2431, allocations: 0 / 447 MB, free: 6.672 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006298/0.2437, allocations: 191.8 kB / 447.2 MB, free: 6.484 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 (35): * Single equations (assignments): 34 * 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.003637/0.2474, allocations: 1.775 MB / 449 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.2499, allocations: 1.047 MB / 450 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.25, allocations: 0 / 450 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.2518, allocations: 0.6687 MB / 450.7 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2522, allocations: 34.39 kB / 450.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.2627, allocations: 5.319 MB / 456 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.2631, allocations: 0.8167 MB / 456.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.2633, allocations: 46.92 kB / 456.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.2636, allocations: 135.4 kB / 457 MB, free: 12.48 MB / 334.1 MB Notification: Performance of SimCode: time 1.232e-06/0.2636, allocations: 0 / 457 MB, free: 12.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8655/1.129, allocations: 14.72 MB / 471.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/1.129, allocations: 279.8 kB / 472 MB, free: 13.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/3.158, allocations: 3.938 kB / 472 MB, free: 13.64 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)