Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.001049/0.001049, allocations: 182.4 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.423/1.423, allocations: 221.4 MB / 235.1 MB, free: 14.43 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.0009407/0.0009406, allocations: 97.47 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07299/0.07299, allocations: 8.106 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.644e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 52.52 MB / 458.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.4783, allocations: 80.89 MB / 0.5263 GB, free: 5.121 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.4785, allocations: 63.34 kB / 0.5264 GB, free: 5.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03308/0.5116, allocations: 12.5 MB / 0.5386 GB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5117, allocations: 0 / 0.5386 GB, free: 11.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.5117, allocations: 4 kB / 0.5386 GB, free: 11.04 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002686/0.5144, allocations: 0.8728 MB / 0.5395 GB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5144, allocations: 12.03 kB / 0.5395 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.438e-05/0.5145, allocations: 69.69 kB / 0.5395 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.5146, allocations: 43.53 kB / 0.5396 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.5151, allocations: 328.9 kB / 0.5399 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.5151, allocations: 19.69 kB / 0.5399 GB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.5152, allocations: 30.62 kB / 0.5399 GB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.5159, allocations: 465.8 kB / 0.5404 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5159, allocations: 0 / 0.5404 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.5159, allocations: 17.94 kB / 0.5404 GB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.516, allocations: 4 kB / 0.5404 GB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.5166, allocations: 411.6 kB / 0.5408 GB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.5192, allocations: 2.124 MB / 0.5429 GB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/0.5201, allocations: 0.5049 MB / 0.5434 GB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.5205, allocations: 288.4 kB / 0.5436 GB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.5206, allocations: 89.09 kB / 0.5437 GB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5207, allocations: 36.44 kB / 0.5438 GB, free: 6.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/0.5207, allocations: 3.938 kB / 0.5438 GB, free: 6.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003233/0.5239, allocations: 1.086 MB / 0.5448 GB, free: 5.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.524, allocations: 109.7 kB / 0.5449 GB, free: 5.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.5243, allocations: 241.5 kB / 0.5452 GB, free: 5.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.5244, allocations: 36.83 kB / 0.5452 GB, free: 5.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.5245, allocations: 170.3 kB / 0.5454 GB, free: 5.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5246, allocations: 140.2 kB / 0.5455 GB, free: 5.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.5247, allocations: 7.562 kB / 0.5455 GB, free: 5.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5248, allocations: 346.4 kB / 0.5458 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.5252, allocations: 226.6 kB / 0.546 GB, free: 4.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.5256, allocations: 275.2 kB / 0.5463 GB, free: 4.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.5259, allocations: 258 kB / 0.5466 GB, free: 4.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.526, allocations: 0 / 0.5466 GB, free: 4.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003179/0.5291, allocations: 1.122 MB / 0.5477 GB, free: 3.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5292, allocations: 4 kB / 0.5477 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.5292, allocations: 3.984 kB / 0.5477 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/0.5325, allocations: 0.6992 MB / 0.5483 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.5328, allocations: 51.91 kB / 0.5484 GB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006292/0.5391, allocations: 3.776 MB / 0.5521 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.5395, allocations: 38.8 kB / 0.5521 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.5396, allocations: 15.5 kB / 0.5521 GB, free: 336 kB / 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 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.5397, allocations: 120.5 kB / 0.5522 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.5398, allocations: 39.56 kB / 0.5523 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.5433, allocations: 1.218 MB / 0.5535 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5433, allocations: 7.953 kB / 0.5535 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.5433, allocations: 0 / 0.5535 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.5433, allocations: 3.984 kB / 0.5535 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.544, allocations: 0.6369 MB / 0.5541 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.544, allocations: 128 / 0.5541 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.5443, allocations: 71.33 kB / 0.5542 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.5474, allocations: 0.6842 MB / 0.5548 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.5475, allocations: 7.953 kB / 0.5549 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006369/0.5539, allocations: 3.737 MB / 0.5585 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5539, allocations: 0 / 0.5585 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.5573, allocations: 1.219 MB / 0.5597 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.5575, allocations: 120.5 kB / 0.5598 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/0.5576, allocations: 15.94 kB / 0.5598 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.558, allocations: 27.97 kB / 0.5598 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.5581, allocations: 40.33 kB / 0.5599 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.5582, allocations: 15.98 kB / 0.5599 GB, free: 8.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.5584, allocations: 203.1 kB / 0.5601 GB, free: 8.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5584, allocations: 0 / 0.5601 GB, free: 8.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006036/0.559, allocations: 179.8 kB / 0.5603 GB, free: 8.375 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 (36): * Single equations (assignments): 35 * 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 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003618/0.5626, allocations: 1.79 MB / 0.562 GB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.5648, allocations: 0.868 MB / 0.5629 GB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5648, allocations: 0 / 0.5629 GB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.5664, allocations: 0.6026 MB / 0.5635 GB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.5667, allocations: 35.06 kB / 0.5635 GB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.5678, allocations: 0.5521 MB / 0.564 GB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.5682, allocations: 0.8055 MB / 0.5648 GB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.5684, allocations: 50.92 kB / 0.5649 GB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.5686, allocations: 123.4 kB / 0.565 GB, free: 3.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5686, allocations: 0 / 0.565 GB, free: 3.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.5972, allocations: 14.27 MB / 0.5789 GB, free: 5.324 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.5974, allocations: 197.6 kB / 0.5791 GB, free: 5.094 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.706, allocations: 4 kB / 0.5791 GB, free: 5.09 MB / 394.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)