Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.0013/0.001301, 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.456/1.456, allocations: 223.2 MB / 239.7 MB, free: 76 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.001083/0.001083, allocations: 102.5 kB / 290.9 MB, free: 4.551 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06186/0.06186, allocations: 8.111 MB / 350.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003987, allocations: 8 kB / 413.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2673, allocations: 52.51 MB / 465.7 MB, free: 69.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08955/0.3569, allocations: 79.9 MB / 0.5328 GB, free: 5.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.3572, allocations: 63.97 kB / 0.5329 GB, free: 5.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02178/0.379, allocations: 8.701 MB / 0.5414 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.379, allocations: 0 / 0.5414 GB, free: 12.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.379, allocations: 7.938 kB / 0.5414 GB, free: 12.74 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001914/0.3809, allocations: 0.7099 MB / 0.5421 GB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.381, allocations: 12.03 kB / 0.5421 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.818e-05/0.3811, allocations: 50.55 kB / 0.5421 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.3812, allocations: 23.72 kB / 0.5421 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3815, allocations: 262.6 kB / 0.5424 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3815, allocations: 12.33 kB / 0.5424 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.3816, allocations: 12 kB / 0.5424 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.3821, allocations: 299 kB / 0.5427 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3821, allocations: 4 kB / 0.5427 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.3821, allocations: 8 kB / 0.5427 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3821, allocations: 4 kB / 0.5427 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.3825, allocations: 248.2 kB / 0.543 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.3843, allocations: 1.227 MB / 0.5442 GB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.3849, allocations: 310.4 kB / 0.5445 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.385, allocations: 93.08 kB / 0.5445 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3851, allocations: 38.56 kB / 0.5446 GB, free: 9.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.3851, allocations: 3.938 kB / 0.5446 GB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.003909/0.389, allocations: 1.079 MB / 0.5456 GB, free: 8.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.3891, allocations: 110.8 kB / 0.5457 GB, free: 7.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3893, allocations: 186.2 kB / 0.5459 GB, free: 7.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.3893, allocations: 37.64 kB / 0.546 GB, free: 7.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.3894, allocations: 132.3 kB / 0.5461 GB, free: 7.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.3895, allocations: 86.75 kB / 0.5462 GB, free: 7.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.3895, allocations: 8 kB / 0.5462 GB, free: 7.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3896, allocations: 326.8 kB / 0.5465 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3899, allocations: 136.4 kB / 0.5466 GB, free: 7.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3901, allocations: 163.7 kB / 0.5468 GB, free: 6.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.3903, allocations: 159 kB / 0.5469 GB, free: 6.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3903, allocations: 3.953 kB / 0.5469 GB, free: 6.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00186/0.3922, allocations: 0.6357 MB / 0.5475 GB, free: 6.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3922, allocations: 7.984 kB / 0.5476 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3922, allocations: 0 / 0.5476 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.3942, allocations: 388.9 kB / 0.5479 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3944, allocations: 35.94 kB / 0.548 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/0.3989, allocations: 2.645 MB / 0.5505 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.3992, allocations: 24.02 kB / 0.5506 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.3993, allocations: 12 kB / 0.5506 GB, free: 2.809 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 (21): * Single equations (assignments): 20 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.3995, allocations: 134.4 kB / 0.5507 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.3995, allocations: 23.72 kB / 0.5507 GB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.4016, allocations: 0.7074 MB / 0.5514 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4016, allocations: 4 kB / 0.5514 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.4016, allocations: 0 / 0.5514 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4016, allocations: 4 kB / 0.5514 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.4021, allocations: 441.2 kB / 0.5518 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4021, allocations: 0 / 0.5518 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.4023, allocations: 39.91 kB / 0.5519 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.4041, allocations: 380.4 kB / 0.5522 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.4042, allocations: 7.938 kB / 0.5523 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.277/0.6812, allocations: 2.601 MB / 0.5548 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6813, allocations: 1.297 kB / 0.5548 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.6839, allocations: 0.7425 MB / 0.5555 GB, free: 88.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6841, allocations: 105.5 kB / 0.5556 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.6841, allocations: 12 kB / 0.5556 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.6844, allocations: 21.27 kB / 0.5557 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.6845, allocations: 18.66 kB / 0.5557 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.6846, allocations: 12.06 kB / 0.5557 GB, free: 88.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002337/0.6848, allocations: 160.2 kB / 0.5558 GB, free: 88.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6848, allocations: 0 / 0.5558 GB, free: 88.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006081/0.6854, allocations: 103 kB / 0.5559 GB, free: 88.72 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 (22): * Single equations (assignments): 21 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002333/0.6878, allocations: 1.308 MB / 0.5572 GB, free: 88.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.6894, allocations: 0.582 MB / 0.5578 GB, free: 87.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6894, allocations: 0 / 0.5578 GB, free: 87.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.6906, allocations: 449.5 kB / 0.5582 GB, free: 87.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.6909, allocations: 20.88 kB / 0.5582 GB, free: 87.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.6946, allocations: 1.852 MB / 0.56 GB, free: 87.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.6948, allocations: 0.7552 MB / 0.5608 GB, free: 86.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.695, allocations: 32.59 kB / 0.5608 GB, free: 86.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.6951, allocations: 77.78 kB / 0.5609 GB, free: 86.53 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6951, allocations: 0 / 0.5609 GB, free: 86.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.7146, allocations: 8.541 MB / 0.5692 GB, free: 85.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/0.7148, allocations: 203.3 kB / 0.5694 GB, free: 84.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.644, allocations: 3.5 kB / 0.5694 GB, free: 84.92 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)