Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 230 MB, free: 7.492 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009976, allocations: 89.78 kB / 280.9 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04787/0.04787, allocations: 8.097 MB / 339.8 MB, free: 6.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.86e-05, allocations: 3.297 kB / 398.6 MB, free: 49.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09043, allocations: 52.52 MB / 451.1 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.2155, allocations: 80.67 MB / 0.5193 GB, free: 4.465 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.2158, allocations: 63.97 kB / 0.5194 GB, free: 4.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2462/0.462, allocations: 14.58 MB / 0.5336 GB, free: 78.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4621, allocations: 1.188 kB / 0.5336 GB, free: 78.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.4621, allocations: 10.75 kB / 0.5336 GB, free: 78.54 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002702/0.4648, allocations: 0.9206 MB / 0.5345 GB, free: 78.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4648, allocations: 13.61 kB / 0.5345 GB, free: 78.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.465, allocations: 54.38 kB / 0.5346 GB, free: 78.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.4655, allocations: 356.2 kB / 0.5349 GB, free: 77.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4655, allocations: 12.88 kB / 0.5349 GB, free: 77.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.4656, allocations: 25.22 kB / 0.5349 GB, free: 77.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007191/0.4663, allocations: 453.6 kB / 0.5354 GB, free: 77.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007999/0.4671, allocations: 0.4899 MB / 0.5359 GB, free: 77.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4672, allocations: 3.984 kB / 0.5359 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.4672, allocations: 1.281 kB / 0.5359 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.4672, allocations: 9.469 kB / 0.5359 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.4701, allocations: 2.276 MB / 0.5381 GB, free: 76.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/0.4709, allocations: 0.6069 MB / 0.5387 GB, free: 75.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.4712, allocations: 246.4 kB / 0.5389 GB, free: 75.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.4713, allocations: 90.45 kB / 0.539 GB, free: 75.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4714, allocations: 46.31 kB / 0.5391 GB, free: 75.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.374e-06/0.4714, allocations: 0 / 0.5391 GB, free: 75.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0032/0.4746, allocations: 1.03 MB / 0.5401 GB, free: 75.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.4746, allocations: 110.6 kB / 0.5402 GB, free: 75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.4749, allocations: 244.7 kB / 0.5404 GB, free: 74.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.4749, allocations: 25.7 kB / 0.5404 GB, free: 74.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4751, allocations: 208.5 kB / 0.5406 GB, free: 74.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.4752, allocations: 144.4 kB / 0.5408 GB, free: 74.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.4752, allocations: 0 / 0.5408 GB, free: 74.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.4753, allocations: 341.8 kB / 0.5411 GB, free: 74.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.4755, allocations: 203 kB / 0.5413 GB, free: 74.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.4758, allocations: 239.4 kB / 0.5415 GB, free: 73.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.4763, allocations: 243.5 kB / 0.5417 GB, free: 73.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4763, allocations: 0 / 0.5417 GB, free: 73.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003019/0.4793, allocations: 1.063 MB / 0.5428 GB, free: 73.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4794, allocations: 5.375 kB / 0.5428 GB, free: 73.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4794, allocations: 0 / 0.5428 GB, free: 73.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/0.4824, allocations: 0.6721 MB / 0.5434 GB, free: 72.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.4827, allocations: 58.98 kB / 0.5435 GB, free: 72.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/0.488, allocations: 3.457 MB / 0.5469 GB, free: 69.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.4884, allocations: 31.62 kB / 0.5469 GB, free: 69.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.4885, allocations: 15.98 kB / 0.5469 GB, free: 69.22 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.4886, allocations: 109 kB / 0.547 GB, free: 69.11 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003091/0.4917, allocations: 1.036 MB / 0.548 GB, free: 68.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.4918, allocations: 35.53 kB / 0.5481 GB, free: 68.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.495, allocations: 1.132 MB / 0.5492 GB, free: 66.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.495, allocations: 7.984 kB / 0.5492 GB, free: 66.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.495, allocations: 11.89 kB / 0.5492 GB, free: 66.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.495, allocations: 128 / 0.5492 GB, free: 66.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.4988, allocations: 1.764 MB / 0.5509 GB, free: 65.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4989, allocations: 0 / 0.5509 GB, free: 65.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.4991, allocations: 51.91 kB / 0.551 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/0.502, allocations: 0.6735 MB / 0.5516 GB, free: 64.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.5021, allocations: 4 kB / 0.5516 GB, free: 64.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00521/0.5073, allocations: 3.399 MB / 0.5549 GB, free: 60.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5074, allocations: 0 / 0.5549 GB, free: 60.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.5113, allocations: 1.167 MB / 0.5561 GB, free: 59.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.5114, allocations: 112.6 kB / 0.5562 GB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.5115, allocations: 7.938 kB / 0.5562 GB, free: 59.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.5119, allocations: 15.98 kB / 0.5562 GB, free: 59.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.512, allocations: 44.39 kB / 0.5563 GB, free: 59.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.5121, allocations: 11.98 kB / 0.5563 GB, free: 59.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.5122, allocations: 193.9 kB / 0.5565 GB, free: 59.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5122, allocations: 3.938 kB / 0.5565 GB, free: 59.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006304/0.5129, allocations: 167.7 kB / 0.5566 GB, free: 59.06 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003391/0.5163, allocations: 1.715 MB / 0.5583 GB, free: 57.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.5183, allocations: 0.8007 MB / 0.5591 GB, free: 56.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.5184, allocations: 4 kB / 0.5591 GB, free: 56.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.5198, allocations: 0.5655 MB / 0.5596 GB, free: 55.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.5202, allocations: 24.81 kB / 0.5597 GB, free: 55.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.5212, allocations: 0.5376 MB / 0.5602 GB, free: 55.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.5215, allocations: 0.8324 MB / 0.561 GB, free: 54.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.5216, allocations: 47.25 kB / 0.561 GB, free: 54.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.5218, allocations: 139.4 kB / 0.5612 GB, free: 54.29 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5218, allocations: 0 / 0.5612 GB, free: 54.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.5511, allocations: 12.26 MB / 0.5731 GB, free: 42.07 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.5513, allocations: 167.3 kB / 0.5733 GB, free: 41.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.663, allocations: 0 / 0.5733 GB, free: 41.89 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)