Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.001101/0.001101, allocations: 179.2 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.517/1.517, allocations: 223.2 MB / 239.7 MB, free: 68 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.0008921/0.0008918, allocations: 100.6 kB / 290.9 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06637/0.06637, allocations: 8.096 MB / 350.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003247, allocations: 8 kB / 413.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2415, allocations: 52.51 MB / 465.7 MB, free: 69.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3433, allocations: 80.72 MB / 0.5336 GB, free: 4.816 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.3436, allocations: 67.97 kB / 0.5337 GB, free: 4.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03174/0.3753, allocations: 12.56 MB / 0.5459 GB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.3754, allocations: 0 / 0.5459 GB, free: 8.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.804e-05/0.3754, allocations: 11.94 kB / 0.5459 GB, free: 8.023 MB / 378.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.003119/0.3785, allocations: 0.9214 MB / 0.5468 GB, free: 7.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.3786, allocations: 8.031 kB / 0.5469 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.3788, allocations: 62.53 kB / 0.5469 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.379, allocations: 43.53 kB / 0.547 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.3796, allocations: 346.1 kB / 0.5473 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.3797, allocations: 28.56 kB / 0.5473 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.3798, allocations: 24 kB / 0.5473 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.3807, allocations: 476.3 kB / 0.5478 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3807, allocations: 0 / 0.5478 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.3807, allocations: 12 kB / 0.5478 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3808, allocations: 4 kB / 0.5478 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.3815, allocations: 422.1 kB / 0.5482 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.3847, allocations: 2.138 MB / 0.5503 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/0.3856, allocations: 0.5102 MB / 0.5508 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.3858, allocations: 97.08 kB / 0.5509 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3859, allocations: 42.56 kB / 0.5509 GB, free: 2.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.3859, allocations: 0 / 0.5509 GB, free: 2.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.006839/0.3927, allocations: 1.885 MB / 0.5528 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.3929, allocations: 106.8 kB / 0.5529 GB, free: 0.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.3932, allocations: 250.1 kB / 0.5531 GB, free: 252 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.3933, allocations: 37.7 kB / 0.5531 GB, free: 208 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3935, allocations: 168.6 kB / 0.5533 GB, free: 32 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3001/0.6935, allocations: 141.9 kB / 0.5534 GB, free: 87.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.6936, allocations: 7.344 kB / 0.5534 GB, free: 87.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.6938, allocations: 343 kB / 0.5538 GB, free: 86.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.6945, allocations: 234.8 kB / 0.554 GB, free: 86.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.6951, allocations: 278.2 kB / 0.5543 GB, free: 86.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.6957, allocations: 261.5 kB / 0.5545 GB, free: 86.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.6957, allocations: 0.5938 kB / 0.5545 GB, free: 86.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003988/0.6997, allocations: 1.125 MB / 0.5556 GB, free: 86.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.6997, allocations: 10.16 kB / 0.5556 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6998, allocations: 0 / 0.5556 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003614/0.7034, allocations: 0.7092 MB / 0.5563 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.7037, allocations: 53.62 kB / 0.5564 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007653/0.7113, allocations: 3.911 MB / 0.5602 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.7119, allocations: 34.16 kB / 0.5602 GB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.712, allocations: 17.53 kB / 0.5602 GB, free: 85.51 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 (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.0003024/0.7123, allocations: 156.7 kB / 0.5604 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.7124, allocations: 41.25 kB / 0.5604 GB, free: 85.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/0.717, allocations: 1.237 MB / 0.5616 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.717, allocations: 6.531 kB / 0.5616 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.717, allocations: 0 / 0.5616 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.717, allocations: 5.172 kB / 0.5616 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000993/0.718, allocations: 0.6472 MB / 0.5623 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7181, allocations: 0 / 0.5623 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.7183, allocations: 62.12 kB / 0.5623 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003307/0.7216, allocations: 0.6898 MB / 0.563 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.7217, allocations: 7.25 kB / 0.563 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006078/0.7278, allocations: 3.899 MB / 0.5668 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7278, allocations: 0 / 0.5668 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/0.7312, allocations: 1.239 MB / 0.568 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.7313, allocations: 127 kB / 0.5681 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.7314, allocations: 4 kB / 0.5682 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.7318, allocations: 30.25 kB / 0.5682 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.7319, allocations: 47.83 kB / 0.5682 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.732, allocations: 13.47 kB / 0.5682 GB, free: 81.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.7322, allocations: 206.3 kB / 0.5684 GB, free: 81.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.7322, allocations: 0 / 0.5684 GB, free: 81.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007553/0.733, allocations: 168.7 kB / 0.5686 GB, free: 81.06 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 (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 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003321/0.7363, allocations: 1.812 MB / 0.5704 GB, free: 79.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.7382, allocations: 0.8822 MB / 0.5712 GB, free: 79.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7383, allocations: 0 / 0.5712 GB, free: 79.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.7396, allocations: 0.626 MB / 0.5718 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.7399, allocations: 37.44 kB / 0.5719 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/0.7452, allocations: 2.986 MB / 0.5748 GB, free: 77.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.7455, allocations: 0.8074 MB / 0.5756 GB, free: 77.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.7457, allocations: 51.73 kB / 0.5756 GB, free: 77.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.7458, allocations: 120.7 kB / 0.5757 GB, free: 76.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7458, allocations: 0 / 0.5757 GB, free: 76.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.7701, allocations: 13.91 MB / 0.5893 GB, free: 65.04 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.7704, allocations: 224.4 kB / 0.5895 GB, free: 64.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.087, allocations: 0 / 0.5895 GB, free: 64.8 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)