Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",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.002361/0.002361, allocations: 178 kB / 15.8 MB, free: 6.34 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.709/1.709, allocations: 223.2 MB / 239.7 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 98.17 kB / 290.9 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07829/0.07829, allocations: 8.102 MB / 350.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004231, allocations: 8 kB / 413.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3982, allocations: 52.51 MB / 465.7 MB, free: 69.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.522, allocations: 79.27 MB / 0.5322 GB, free: 6.238 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5224, allocations: 63.97 kB / 0.5323 GB, free: 6.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01553/0.538, allocations: 5.824 MB / 0.5379 GB, free: 296 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.538, allocations: 3.938 kB / 0.5379 GB, free: 292 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.538, allocations: 4 kB / 0.5379 GB, free: 288 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001239/0.5393, allocations: 0.5339 MB / 0.5385 GB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.5394, allocations: 8.031 kB / 0.5385 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.5394, allocations: 38.56 kB / 0.5385 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.5395, allocations: 27.84 kB / 0.5385 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.5399, allocations: 220.4 kB / 0.5388 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.5399, allocations: 8.234 kB / 0.5388 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.5399, allocations: 11.94 kB / 0.5388 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.5403, allocations: 175.5 kB / 0.5389 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.5403, allocations: 0 / 0.5389 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.5403, allocations: 4 kB / 0.5389 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5404, allocations: 7.953 kB / 0.5389 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.5406, allocations: 152.6 kB / 0.5391 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.5419, allocations: 0.7576 MB / 0.5398 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.5425, allocations: 210.5 kB / 0.54 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.5427, allocations: 85.09 kB / 0.5401 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.5427, allocations: 38.56 kB / 0.5402 GB, free: 13.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.5427, allocations: 0 / 0.5402 GB, free: 13.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001769/0.5445, allocations: 0.5564 MB / 0.5407 GB, free: 13.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.5446, allocations: 55.41 kB / 0.5407 GB, free: 13.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.5448, allocations: 164.6 kB / 0.5409 GB, free: 12.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.5448, allocations: 25.7 kB / 0.5409 GB, free: 12.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.5449, allocations: 123.7 kB / 0.541 GB, free: 12.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.545, allocations: 51.27 kB / 0.5411 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.545, allocations: 8 kB / 0.5411 GB, free: 12.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5452, allocations: 322.8 kB / 0.5414 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.5453, allocations: 83.94 kB / 0.5415 GB, free: 12.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.5454, allocations: 83.97 kB / 0.5416 GB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.5456, allocations: 87.98 kB / 0.5417 GB, free: 12.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5456, allocations: 0 / 0.5417 GB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008201/0.5464, allocations: 365.2 kB / 0.542 GB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5465, allocations: 4 kB / 0.542 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5465, allocations: 0 / 0.542 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/0.5472, allocations: 140.7 kB / 0.5421 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5473, allocations: 19.98 kB / 0.5422 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.55, allocations: 1.925 MB / 0.544 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.5502, allocations: 19.83 kB / 0.5441 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.5502, allocations: 7.953 kB / 0.5441 GB, free: 9.594 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.5504, allocations: 126.3 kB / 0.5442 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.5504, allocations: 11.91 kB / 0.5442 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008926/0.5513, allocations: 369.2 kB / 0.5446 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5514, allocations: 4 kB / 0.5446 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.5514, allocations: 0 / 0.5446 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5514, allocations: 3.938 kB / 0.5446 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.5518, allocations: 317.4 kB / 0.5449 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5518, allocations: 0 / 0.5449 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.5519, allocations: 19.98 kB / 0.5449 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000585/0.5525, allocations: 136.7 kB / 0.545 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.5525, allocations: 8 kB / 0.545 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.5548, allocations: 1.918 MB / 0.5469 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5548, allocations: 0 / 0.5469 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.5557, allocations: 435.9 kB / 0.5473 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.5558, allocations: 92.92 kB / 0.5474 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.5558, allocations: 0 / 0.5474 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.556, allocations: 19.98 kB / 0.5474 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.556, allocations: 15.92 kB / 0.5474 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.5561, allocations: 8 kB / 0.5474 GB, free: 5.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.5562, allocations: 132.1 kB / 0.5476 GB, free: 5.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5562, allocations: 0 / 0.5476 GB, free: 5.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.5566, allocations: 63.94 kB / 0.5476 GB, free: 5.711 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.5579, allocations: 0.9839 MB / 0.5486 GB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.5587, allocations: 350.5 kB / 0.5489 GB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5587, allocations: 4 kB / 0.5489 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.5592, allocations: 266.5 kB / 0.5492 GB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.5594, allocations: 14.88 kB / 0.5492 GB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.5617, allocations: 1.191 MB / 0.5504 GB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.562, allocations: 0.7245 MB / 0.5511 GB, free: 2.062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.076e-05/0.5621, allocations: 13.42 kB / 0.5511 GB, free: 2.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.5622, allocations: 47.41 kB / 0.5511 GB, free: 2.004 MB / 378.7 MB Notification: Performance of SimCode: time 4.4e-07/0.5622, allocations: 0 / 0.5511 GB, free: 2.004 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3091/0.8713, allocations: 5.294 MB / 0.5563 GB, free: 91.18 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.8715, allocations: 191.3 kB / 0.5565 GB, free: 90.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.681, allocations: 1.375 kB / 0.5565 GB, free: 90.94 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)