Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",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.001032/0.001032, allocations: 110.4 kB / 16.03 MB, free: 6.312 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.001131/0.001131, allocations: 191.2 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.19/1.19, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04167/0.04167, allocations: 8.102 MB / 298.9 MB, free: 6.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 361.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1623, allocations: 51.52 MB / 412.8 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.00257/0.1649, allocations: 2.708 MB / 415.6 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1662, allocations: 1.617 MB / 417.2 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1664, allocations: 8 kB / 417.2 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1667, allocations: 139.4 kB / 417.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.167, allocations: 198.9 kB / 417.5 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.1685, allocations: 1.167 MB / 418.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.1688, allocations: 453.8 kB / 419.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.169, allocations: 164.2 kB / 419.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1691, allocations: 191.3 kB / 419.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1693, allocations: 231 kB / 419.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.1693, allocations: 36 kB / 419.7 MB, free: 18.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1696, allocations: 275.8 kB / 420 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1697, allocations: 95.62 kB / 420.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1698, allocations: 222.9 kB / 420.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.1702, allocations: 0.6231 MB / 420.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1702, allocations: 3.938 kB / 420.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1702, allocations: 0 / 420.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1702, 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.00427/0.1745, allocations: 1.408 MB / 422.3 MB, free: 16.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1745, allocations: 15.89 kB / 422.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.1746, allocations: 70.72 kB / 422.4 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.1747, allocations: 44.47 kB / 422.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.175, allocations: 339.4 kB / 422.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.175, allocations: 29.03 kB / 422.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.1751, allocations: 44.31 kB / 422.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.1757, allocations: 0.5062 MB / 423.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1757, allocations: 3.938 kB / 423.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.1757, allocations: 20 kB / 423.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1757, allocations: 8 kB / 423.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004869/0.1762, allocations: 450.4 kB / 423.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.1781, allocations: 2.107 MB / 426 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.1788, allocations: 0.5815 MB / 426.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.1791, allocations: 276.8 kB / 426.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.1792, allocations: 7.984 kB / 426.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.1792, allocations: 46.5 kB / 426.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.413e-06/0.1792, allocations: 0 / 426.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006684/0.1859, allocations: 1.939 MB / 428.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.186, allocations: 106.8 kB / 428.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1862, allocations: 278.9 kB / 429.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.1862, allocations: 33.7 kB / 429.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.1863, allocations: 184.6 kB / 429.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.1864, allocations: 141.9 kB / 429.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.1866, allocations: 110.2 kB / 429.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.1866, allocations: 342.8 kB / 430 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.1869, allocations: 281 kB / 430.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.1873, allocations: 340.6 kB / 430.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.188, allocations: 0.6217 MB / 431.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.188, allocations: 0 / 431.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002903/0.1909, allocations: 1.248 MB / 432.4 MB, free: 5.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1909, allocations: 4 kB / 432.4 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1909, allocations: 3.938 kB / 432.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003179/0.1941, allocations: 0.7802 MB / 433.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.1944, allocations: 95.81 kB / 433.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005529/0.2, allocations: 4.012 MB / 437.3 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.2004, allocations: 51.52 kB / 437.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.2004, allocations: 19.98 kB / 437.4 MB, free: 0.5273 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.0001586/0.2006, allocations: 169.7 kB / 437.6 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.2006, allocations: 31.62 kB / 437.6 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.2038, allocations: 1.175 MB / 438.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2038, allocations: 4 kB / 438.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2038, allocations: 0 / 438.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2038, allocations: 7.922 kB / 438.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/0.2074, allocations: 1.751 MB / 440.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2074, allocations: 3.938 kB / 440.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.2077, allocations: 67.91 kB / 440.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00328/0.2109, allocations: 0.7489 MB / 441.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.211, allocations: 4 kB / 441.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/0.2171, allocations: 3.981 MB / 445.3 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2171, allocations: 4 kB / 445.4 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/0.2201, allocations: 1.179 MB / 446.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.2201, allocations: 116.5 kB / 446.6 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.2202, allocations: 16 kB / 446.7 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.2206, allocations: 27.92 kB / 446.7 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2207, allocations: 36.38 kB / 446.7 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.2207, allocations: 16 kB / 446.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.2209, allocations: 190 kB / 446.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2209, allocations: 0 / 446.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005551/0.2215, allocations: 183.8 kB / 447.1 MB, free: 6.566 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.003307/0.2248, allocations: 1.759 MB / 448.9 MB, free: 4.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.2271, allocations: 1.035 MB / 449.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2271, allocations: 0 / 449.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.2288, allocations: 0.6648 MB / 450.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.2291, allocations: 40.88 kB / 450.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009226/0.2384, allocations: 5.303 MB / 455.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.2387, allocations: 0.8167 MB / 456.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.2389, allocations: 54.92 kB / 456.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.239, allocations: 135.4 kB / 456.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2391, allocations: 0 / 456.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5091/0.7482, allocations: 14.7 MB / 471.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003097/0.7485, allocations: 266.8 kB / 471.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.773, allocations: 2.969 kB / 471.9 MB, free: 13.79 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)