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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 177.6 kB / 8.051 MB, free: 1.023 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.412/1.412, allocations: 221.5 MB / 230 MB, free: 7.496 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.0007861/0.0007862, allocations: 96.22 kB / 280.9 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04652/0.04652, allocations: 8.1 MB / 339.8 MB, free: 6.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.167e-05, allocations: 2.688 kB / 398.6 MB, free: 49.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 52.52 MB / 451.1 MB, free: 5.266 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.2121, allocations: 80.63 MB / 0.5192 GB, free: 4.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.2124, allocations: 63.97 kB / 0.5193 GB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2404/0.4527, allocations: 13.49 MB / 0.5325 GB, free: 78.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4528, allocations: 0 / 0.5325 GB, free: 78.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.4528, allocations: 7 kB / 0.5325 GB, free: 78.66 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002716/0.4555, allocations: 0.8922 MB / 0.5334 GB, free: 78.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.4556, allocations: 17.84 kB / 0.5334 GB, free: 78.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.4558, allocations: 52.66 kB / 0.5334 GB, free: 78.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.4563, allocations: 346.9 kB / 0.5338 GB, free: 77.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.4563, allocations: 10.31 kB / 0.5338 GB, free: 77.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.4564, allocations: 18.59 kB / 0.5338 GB, free: 77.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006825/0.4571, allocations: 423.2 kB / 0.5342 GB, free: 77.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.4579, allocations: 467.9 kB / 0.5346 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4579, allocations: 0 / 0.5346 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.458, allocations: 5.016 kB / 0.5346 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.458, allocations: 11.59 kB / 0.5346 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.4605, allocations: 2.165 MB / 0.5368 GB, free: 76.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009485/0.4615, allocations: 0.552 MB / 0.5373 GB, free: 76.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.4618, allocations: 261.9 kB / 0.5376 GB, free: 76.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.462, allocations: 91.22 kB / 0.5376 GB, free: 76.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.462, allocations: 42.47 kB / 0.5377 GB, free: 76.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.236e-06/0.462, allocations: 0 / 0.5377 GB, free: 76.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003301/0.4653, allocations: 1.063 MB / 0.5387 GB, free: 76.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.4654, allocations: 109.3 kB / 0.5388 GB, free: 75.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.4656, allocations: 238.1 kB / 0.539 GB, free: 75.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.4657, allocations: 28.83 kB / 0.5391 GB, free: 75.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.4658, allocations: 187 kB / 0.5393 GB, free: 75.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.4659, allocations: 143.7 kB / 0.5394 GB, free: 75.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.4659, allocations: 0 / 0.5394 GB, free: 75.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.466, allocations: 346.1 kB / 0.5397 GB, free: 75.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.4662, allocations: 221.9 kB / 0.5399 GB, free: 74.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.4665, allocations: 249.8 kB / 0.5402 GB, free: 74.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/0.4671, allocations: 266.4 kB / 0.5404 GB, free: 74.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4671, allocations: 0 / 0.5404 GB, free: 74.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003036/0.4701, allocations: 1.071 MB / 0.5415 GB, free: 74.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.4702, allocations: 9.406 kB / 0.5415 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4702, allocations: 11.88 kB / 0.5415 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003109/0.4733, allocations: 0.6718 MB / 0.5421 GB, free: 73.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.4736, allocations: 59.61 kB / 0.5422 GB, free: 73.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/0.4793, allocations: 3.61 MB / 0.5457 GB, free: 70.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.4798, allocations: 31.67 kB / 0.5458 GB, free: 70.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.4799, allocations: 12.06 kB / 0.5458 GB, free: 70.41 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.0001195/0.48, allocations: 108.9 kB / 0.5459 GB, free: 70.3 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003065/0.4831, allocations: 1.059 MB / 0.5469 GB, free: 69.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.4832, allocations: 35.62 kB / 0.5469 GB, free: 69.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/0.4864, allocations: 1.183 MB / 0.5481 GB, free: 67.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4864, allocations: 4 kB / 0.5481 GB, free: 67.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4864, allocations: 0 / 0.5481 GB, free: 67.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4864, allocations: 3.984 kB / 0.5481 GB, free: 67.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.4903, allocations: 1.823 MB / 0.5499 GB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4903, allocations: 0 / 0.5499 GB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.4905, allocations: 59.89 kB / 0.5499 GB, free: 66.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/0.4935, allocations: 0.668 MB / 0.5506 GB, free: 65.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.4935, allocations: 7.984 kB / 0.5506 GB, free: 65.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005031/0.4986, allocations: 3.537 MB / 0.5541 GB, free: 61.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4986, allocations: 7.953 kB / 0.5541 GB, free: 61.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.5017, allocations: 1.199 MB / 0.5552 GB, free: 60.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.5018, allocations: 116.6 kB / 0.5553 GB, free: 60.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.5019, allocations: 4 kB / 0.5554 GB, free: 60.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.5023, allocations: 20.22 kB / 0.5554 GB, free: 60.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.5024, allocations: 32.39 kB / 0.5554 GB, free: 60.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.5024, allocations: 23.98 kB / 0.5554 GB, free: 60.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.5026, allocations: 182 kB / 0.5556 GB, free: 60.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5026, allocations: 4 kB / 0.5556 GB, free: 60.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006624/0.5032, allocations: 167.8 kB / 0.5558 GB, free: 59.96 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 (34): * Single equations (assignments): 33 * 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.003349/0.5066, allocations: 1.756 MB / 0.5575 GB, free: 58.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.5086, allocations: 0.8314 MB / 0.5583 GB, free: 57.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5086, allocations: 0.9375 kB / 0.5583 GB, free: 57.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.51, allocations: 0.5777 MB / 0.5589 GB, free: 56.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.5104, allocations: 16.89 kB / 0.5589 GB, free: 56.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.5114, allocations: 0.5212 MB / 0.5594 GB, free: 56.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.5117, allocations: 0.8171 MB / 0.5602 GB, free: 55.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.5119, allocations: 51.23 kB / 0.5602 GB, free: 55.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.512, allocations: 131.4 kB / 0.5604 GB, free: 55.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.284e-06/0.5121, allocations: 4 kB / 0.5604 GB, free: 55.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.5457, allocations: 12.52 MB / 0.5726 GB, free: 42.65 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.546, allocations: 186.9 kB / 0.5728 GB, free: 42.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.634, allocations: 2.766 kB / 0.5728 GB, free: 42.45 MB / 362.7 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/linux/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)