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.001039/0.001039, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.4 MB / 235.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009292/0.0009291, allocations: 93.83 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04212/0.04212, allocations: 8.104 MB / 345.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.422e-05, allocations: 4 kB / 405.6 MB, free: 61.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08893, allocations: 52.52 MB / 458.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3315/0.4205, allocations: 81.55 MB / 0.527 GB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4208, allocations: 63.86 kB / 0.527 GB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03452/0.4553, allocations: 13.66 MB / 0.5404 GB, free: 9.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4553, allocations: 4.859 kB / 0.5404 GB, free: 9.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.4554, allocations: 8 kB / 0.5404 GB, free: 9.469 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.002775/0.4582, allocations: 0.8991 MB / 0.5413 GB, free: 8.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4582, allocations: 8.031 kB / 0.5413 GB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.4583, allocations: 70.59 kB / 0.5413 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.844e-05/0.4584, allocations: 51.52 kB / 0.5414 GB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.4589, allocations: 346.7 kB / 0.5417 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.4589, allocations: 25.91 kB / 0.5418 GB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.459, allocations: 33.44 kB / 0.5418 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/0.4598, allocations: 0.5112 MB / 0.5423 GB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4598, allocations: 0 / 0.5423 GB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.4599, allocations: 14.38 kB / 0.5423 GB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4599, allocations: 12 kB / 0.5423 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.4605, allocations: 441.4 kB / 0.5427 GB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.4634, allocations: 2.224 MB / 0.5449 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/0.4643, allocations: 0.5801 MB / 0.5455 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.4647, allocations: 266 kB / 0.5457 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.4649, allocations: 92.34 kB / 0.5458 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4649, allocations: 38 kB / 0.5458 GB, free: 4.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.4649, allocations: 0 / 0.5458 GB, free: 4.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003174/0.4681, allocations: 1.072 MB / 0.5469 GB, free: 4.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.4682, allocations: 114.8 kB / 0.547 GB, free: 3.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.4685, allocations: 249.4 kB / 0.5472 GB, free: 3.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.4686, allocations: 35.83 kB / 0.5473 GB, free: 3.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4687, allocations: 189.6 kB / 0.5475 GB, free: 3.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.4689, allocations: 143.4 kB / 0.5476 GB, free: 3.422 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.469, allocations: 11.12 kB / 0.5476 GB, free: 3.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4691, allocations: 336.6 kB / 0.5479 GB, free: 3.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.4696, allocations: 222 kB / 0.5481 GB, free: 2.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.4701, allocations: 269.7 kB / 0.5484 GB, free: 2.816 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.4706, allocations: 238 kB / 0.5486 GB, free: 2.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4706, allocations: 0 / 0.5486 GB, free: 2.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00319/0.4738, allocations: 1.104 MB / 0.5497 GB, free: 1.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4738, allocations: 7.938 kB / 0.5497 GB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4738, allocations: 0 / 0.5497 GB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/0.4772, allocations: 0.7041 MB / 0.5504 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.4775, allocations: 55.97 kB / 0.5504 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006684/0.4842, allocations: 3.676 MB / 0.554 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.4848, allocations: 34.12 kB / 0.5541 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.4848, allocations: 19.48 kB / 0.5541 GB, free: 14.5 MB / 378.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.0001869/0.485, allocations: 125.1 kB / 0.5542 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/0.4851, allocations: 39.58 kB / 0.5542 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003566/0.4887, allocations: 1.214 MB / 0.5554 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4887, allocations: 4 kB / 0.5554 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4887, allocations: 0 / 0.5554 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4887, allocations: 7.969 kB / 0.5554 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.4931, allocations: 1.891 MB / 0.5573 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4931, allocations: 0 / 0.5573 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.4934, allocations: 59.91 kB / 0.5573 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/0.497, allocations: 0.6835 MB / 0.558 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.4971, allocations: 7.984 kB / 0.558 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006465/0.5036, allocations: 3.635 MB / 0.5616 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5036, allocations: 0 / 0.5616 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.5071, allocations: 1.207 MB / 0.5627 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.5072, allocations: 128.5 kB / 0.5629 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.5073, allocations: 11.94 kB / 0.5629 GB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.5077, allocations: 32.06 kB / 0.5629 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5078, allocations: 40.38 kB / 0.563 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.5078, allocations: 16 kB / 0.563 GB, free: 5.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.5081, allocations: 195.1 kB / 0.5632 GB, free: 5.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5081, allocations: 0 / 0.5632 GB, free: 5.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006382/0.5087, allocations: 187.8 kB / 0.5633 GB, free: 5.18 MB / 378.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 (35): * Single equations (assignments): 34 * 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.003631/0.5124, allocations: 1.771 MB / 0.5651 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.5144, allocations: 0.8519 MB / 0.5659 GB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5145, allocations: 4 kB / 0.5659 GB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.516, allocations: 0.5911 MB / 0.5665 GB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.5163, allocations: 40.81 kB / 0.5665 GB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.5175, allocations: 0.5746 MB / 0.5671 GB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.5178, allocations: 0.8172 MB / 0.5679 GB, free: 420 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.518, allocations: 50.92 kB / 0.5679 GB, free: 372 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.5182, allocations: 131.4 kB / 0.568 GB, free: 240 kB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5182, allocations: 0 / 0.568 GB, free: 240 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.5485, allocations: 13.9 MB / 0.5816 GB, free: 2.559 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.5487, allocations: 226 kB / 0.5818 GB, free: 2.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.726, allocations: 0 / 0.5818 GB, free: 2.32 MB / 394.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)