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.000771/0.0007711, allocations: 97.33 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009022/0.0009026, allocations: 186.5 kB / 16.96 MB, free: 6.871 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1836/0.1836, allocations: 8.089 MB / 300.2 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 11.98 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08811/0.08844, allocations: 52.5 MB / 416.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.002492/0.09097, allocations: 2.323 MB / 418.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.09313, allocations: 1.617 MB / 420 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.09338, allocations: 11.94 kB / 420.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.09384, allocations: 139.4 kB / 420.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005875/0.09444, allocations: 194.9 kB / 420.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.09636, allocations: 1.164 MB / 421.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.09682, allocations: 445.8 kB / 422 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.09704, allocations: 137.7 kB / 422.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.09719, allocations: 167.3 kB / 422.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.09745, allocations: 211 kB / 422.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.09749, allocations: 24 kB / 422.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.09791, allocations: 251.7 kB / 422.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.09799, allocations: 75.67 kB / 422.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.09818, allocations: 224.6 kB / 423 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.09878, allocations: 0.5995 MB / 423.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.0988, allocations: 4 kB / 423.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0988, allocations: 0 / 423.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.09882, allocations: 0 / 423.6 MB, free: 0.6992 MB / 350.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.1789/0.2778, allocations: 1.335 MB / 425 MB, free: 41.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.2778, allocations: 11.66 kB / 425 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/0.278, allocations: 73.81 kB / 425.1 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.2782, allocations: 46.97 kB / 425.1 MB, free: 41.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.2786, allocations: 337.8 kB / 425.4 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.2786, allocations: 30.81 kB / 425.5 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.2787, allocations: 37.38 kB / 425.5 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.2795, allocations: 0.5068 MB / 426 MB, free: 40.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2795, allocations: 3.938 kB / 426 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.2796, allocations: 19.47 kB / 426 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.2796, allocations: 6.969 kB / 426 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006175/0.2802, allocations: 449.9 kB / 426.5 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.2827, allocations: 2.119 MB / 428.6 MB, free: 39.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00087/0.2836, allocations: 0.577 MB / 429.2 MB, free: 39.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.284, allocations: 276.6 kB / 429.5 MB, free: 39.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.6e-05/0.284, allocations: 14.42 kB / 429.5 MB, free: 39.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2841, allocations: 42.08 kB / 429.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.2841, allocations: 0.8438 kB / 429.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.007012/0.2911, allocations: 1.935 MB / 431.4 MB, free: 39.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2912, allocations: 106.7 kB / 431.5 MB, free: 39.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.2915, allocations: 275.8 kB / 431.8 MB, free: 39.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.2915, allocations: 41.61 kB / 431.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2917, allocations: 179.6 kB / 432 MB, free: 38.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2918, allocations: 145.7 kB / 432.2 MB, free: 38.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.2919, allocations: 56.92 kB / 432.2 MB, free: 38.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.2919, allocations: 340.4 kB / 432.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.2923, allocations: 283.7 kB / 432.8 MB, free: 38.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.2927, allocations: 334.9 kB / 433.2 MB, free: 38.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/0.2936, allocations: 0.6347 MB / 433.8 MB, free: 38.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2936, allocations: 0 / 433.8 MB, free: 38.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003186/0.2968, allocations: 1.241 MB / 435 MB, free: 37.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2968, allocations: 5.781 kB / 435 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2968, allocations: 0 / 435 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00345/0.3003, allocations: 0.791 MB / 435.8 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.3006, allocations: 90.06 kB / 435.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/0.3066, allocations: 3.67 MB / 439.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.307, allocations: 51.39 kB / 439.6 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.3071, allocations: 17.3 kB / 439.7 MB, free: 35.33 MB / 350.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.0001915/0.3073, allocations: 164.8 kB / 439.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3074, allocations: 41.56 kB / 439.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.3107, allocations: 1.166 MB / 441 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.3107, allocations: 13.02 kB / 441 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3107, allocations: 0 / 441 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3107, allocations: 3.422 kB / 441 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.3144, allocations: 1.769 MB / 442.8 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3144, allocations: 0 / 442.8 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.3146, allocations: 59.36 kB / 442.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/0.318, allocations: 0.7522 MB / 443.6 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.3181, allocations: 19.25 kB / 443.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.3239, allocations: 3.612 MB / 447.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3239, allocations: 7.031 kB / 447.3 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.3271, allocations: 1.19 MB / 448.5 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.3272, allocations: 113.2 kB / 448.6 MB, free: 30.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.3273, allocations: 17.34 kB / 448.6 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.3277, allocations: 35.23 kB / 448.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3278, allocations: 36.5 kB / 448.7 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.3279, allocations: 13.62 kB / 448.7 MB, free: 30.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.3281, allocations: 190.5 kB / 448.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3281, allocations: 1.531 kB / 448.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006669/0.3288, allocations: 184.5 kB / 449 MB, free: 30.41 MB / 350.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.003276/0.332, allocations: 1.758 MB / 450.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.3343, allocations: 1.001 MB / 451.8 MB, free: 28.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3344, allocations: 0 / 451.8 MB, free: 28.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.336, allocations: 0.645 MB / 452.4 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.3364, allocations: 44.98 kB / 452.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009441/0.3459, allocations: 5.309 MB / 457.8 MB, free: 25.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.3463, allocations: 0.8186 MB / 458.6 MB, free: 24.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.3465, allocations: 52.59 kB / 458.7 MB, free: 24.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.3467, allocations: 137 kB / 458.8 MB, free: 24.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.825e-06/0.3467, allocations: 0 / 458.8 MB, free: 24.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.3765, allocations: 13.73 MB / 472.5 MB, free: 23.06 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.3767, allocations: 272.2 kB / 472.8 MB, free: 22.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.241, allocations: 3.938 kB / 472.8 MB, free: 22.7 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)