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.0009848/0.0009848, allocations: 180.7 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.434/1.434, 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.0009168/0.000917, allocations: 99.09 kB / 290.9 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06012/0.06012, allocations: 8.106 MB / 350.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004636, allocations: 8 kB / 413.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2894, allocations: 52.51 MB / 465.7 MB, free: 69.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4008, allocations: 80.71 MB / 0.5336 GB, free: 4.793 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.4012, allocations: 67.97 kB / 0.5337 GB, free: 4.727 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03262/0.4339, allocations: 12.53 MB / 0.5459 GB, free: 8.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4339, allocations: 4 kB / 0.5459 GB, free: 8.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.434, allocations: 4 kB / 0.5459 GB, free: 8.035 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.002926/0.4369, allocations: 0.9291 MB / 0.5468 GB, free: 7.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.437, allocations: 8.031 kB / 0.5468 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.4371, allocations: 70.53 kB / 0.5469 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.4372, allocations: 39.53 kB / 0.5469 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.4378, allocations: 346.2 kB / 0.5473 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.4379, allocations: 20.56 kB / 0.5473 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.4379, allocations: 24 kB / 0.5473 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008452/0.4388, allocations: 472.3 kB / 0.5477 GB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4388, allocations: 0 / 0.5477 GB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.4389, allocations: 16 kB / 0.5478 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.4389, allocations: 8 kB / 0.5478 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006726/0.4396, allocations: 418.1 kB / 0.5482 GB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.4428, allocations: 2.123 MB / 0.5502 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.4438, allocations: 0.5101 MB / 0.5507 GB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.444, allocations: 97.08 kB / 0.5508 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.444, allocations: 46.56 kB / 0.5509 GB, free: 2.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.444, allocations: 0 / 0.5509 GB, free: 2.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.008003/0.452, allocations: 1.888 MB / 0.5527 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.4521, allocations: 106.8 kB / 0.5528 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.4525, allocations: 250.2 kB / 0.5531 GB, free: 268 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.4526, allocations: 37.7 kB / 0.5531 GB, free: 224 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4528, allocations: 168.6 kB / 0.5533 GB, free: 48 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2634/0.7162, allocations: 147.5 kB / 0.5534 GB, free: 87.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.7163, allocations: 7.188 kB / 0.5534 GB, free: 87.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7165, allocations: 343 kB / 0.5537 GB, free: 86.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.7171, allocations: 237 kB / 0.554 GB, free: 86.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.7176, allocations: 277.6 kB / 0.5542 GB, free: 86.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.7181, allocations: 265 kB / 0.5545 GB, free: 86.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7181, allocations: 0.5625 kB / 0.5545 GB, free: 86.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003688/0.7218, allocations: 1.117 MB / 0.5556 GB, free: 86.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.7218, allocations: 5.875 kB / 0.5556 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7218, allocations: 2.062 kB / 0.5556 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003568/0.7254, allocations: 0.698 MB / 0.5563 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.7257, allocations: 53.5 kB / 0.5563 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00652/0.7322, allocations: 3.933 MB / 0.5602 GB, free: 85.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.7326, allocations: 34.2 kB / 0.5602 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.7327, allocations: 14.53 kB / 0.5602 GB, free: 85.52 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 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.7329, allocations: 165 kB / 0.5604 GB, free: 85.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.7329, allocations: 33.75 kB / 0.5604 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/0.7366, allocations: 1.222 MB / 0.5616 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.7366, allocations: 8.75 kB / 0.5616 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7366, allocations: 0.5312 kB / 0.5616 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.7367, allocations: 10.3 kB / 0.5616 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.7374, allocations: 0.6415 MB / 0.5622 GB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.7374, allocations: 2.062 kB / 0.5622 GB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.7376, allocations: 65.52 kB / 0.5623 GB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/0.7408, allocations: 0.6716 MB / 0.5629 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.7408, allocations: 18.8 kB / 0.563 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005496/0.7463, allocations: 3.902 MB / 0.5668 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7463, allocations: 0 / 0.5668 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.7493, allocations: 1.231 MB / 0.568 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.7494, allocations: 126.4 kB / 0.5681 GB, free: 81.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.7495, allocations: 4 kB / 0.5681 GB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.7498, allocations: 34 kB / 0.5681 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.7499, allocations: 39 kB / 0.5682 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.75, allocations: 18.22 kB / 0.5682 GB, free: 81.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.7502, allocations: 209.5 kB / 0.5684 GB, free: 81.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7502, allocations: 0 / 0.5684 GB, free: 81.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005602/0.7507, allocations: 172.1 kB / 0.5686 GB, free: 81.07 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 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003287/0.754, allocations: 1.794 MB / 0.5703 GB, free: 80.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.756, allocations: 0.8763 MB / 0.5712 GB, free: 79.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.756, allocations: 0 / 0.5712 GB, free: 79.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.7575, allocations: 0.6233 MB / 0.5718 GB, free: 79.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.7578, allocations: 34.11 kB / 0.5718 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.7631, allocations: 2.967 MB / 0.5747 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.7635, allocations: 0.806 MB / 0.5755 GB, free: 77.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.7637, allocations: 53.69 kB / 0.5755 GB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.7638, allocations: 123.2 kB / 0.5757 GB, free: 77 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7638, allocations: 0 / 0.5757 GB, free: 77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.7954, allocations: 14.13 MB / 0.5895 GB, free: 64.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.7956, allocations: 217.3 kB / 0.5897 GB, free: 64.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.093, allocations: 0 / 0.5897 GB, free: 64.59 MB / 378.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)