Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.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) 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(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz",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.001062/0.001062, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.451/1.451, allocations: 221.3 MB / 235.5 MB, free: 2.918 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 98.77 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.561e-05, allocations: 4 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 50.42 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4564, allocations: 88.31 MB / 482.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4567, allocations: 67.97 kB / 482.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1027/0.5594, allocations: 38.21 MB / 0.5087 GB, free: 8.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5594, allocations: 3.938 kB / 0.5087 GB, free: 8.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.5594, allocations: 16 kB / 0.5087 GB, free: 8.797 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002351/0.5618, allocations: 1.186 MB / 0.5099 GB, free: 7.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5619, allocations: 8.031 kB / 0.5099 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.562, allocations: 62.53 kB / 0.51 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.5622, allocations: 134.4 kB / 0.5101 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5635, allocations: 0.715 MB / 0.5108 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.5635, allocations: 12.44 kB / 0.5108 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.5636, allocations: 27.95 kB / 0.5108 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.5642, allocations: 298.7 kB / 0.5111 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5642, allocations: 3.938 kB / 0.5111 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.5642, allocations: 12 kB / 0.5111 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5643, allocations: 4 kB / 0.5111 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.5646, allocations: 201.8 kB / 0.5113 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.5666, allocations: 1.193 MB / 0.5125 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.5671, allocations: 226.6 kB / 0.5127 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.5675, allocations: 290.5 kB / 0.513 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.569, allocations: 1.277 MB / 0.5142 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5691, allocations: 34.56 kB / 0.5143 GB, free: 2.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 2.284e-06/0.5691, allocations: 0 / 0.5143 GB, free: 2.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002326/0.5714, allocations: 1.247 MB / 0.5155 GB, free: 1.352 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.5715, allocations: 114.8 kB / 0.5156 GB, free: 1.215 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/0.5725, allocations: 0.7692 MB / 0.5163 GB, free: 448 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.5725, allocations: 33.7 kB / 0.5164 GB, free: 408 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.5728, allocations: 357.6 kB / 0.5167 GB, free: 44 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5729, allocations: 130.2 kB / 0.5168 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.5729, allocations: 11.94 kB / 0.5168 GB, free: 15.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5731, allocations: 325.8 kB / 0.5172 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.5733, allocations: 112.2 kB / 0.5173 GB, free: 15.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.5735, allocations: 143.1 kB / 0.5174 GB, free: 15.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.5737, allocations: 161.6 kB / 0.5175 GB, free: 15.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5737, allocations: 0 / 0.5175 GB, free: 15.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008074/0.5745, allocations: 0.4918 MB / 0.518 GB, free: 14.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.5746, allocations: 37.69 kB / 0.5181 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.5746, allocations: 15.98 kB / 0.5181 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.5749, allocations: 69.72 kB / 0.5181 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.5751, allocations: 39.98 kB / 0.5182 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.5776, allocations: 2.982 MB / 0.5211 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.578, allocations: 15.98 kB / 0.5211 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.578, allocations: 19.94 kB / 0.5211 GB, free: 11.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.5782, allocations: 158.5 kB / 0.5213 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.5783, allocations: 122.5 kB / 0.5214 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.5797, allocations: 0.649 MB / 0.522 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5797, allocations: 3.953 kB / 0.522 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5797, allocations: 4 kB / 0.522 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5797, allocations: 0 / 0.522 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.5804, allocations: 0.6082 MB / 0.5226 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/0.5805, allocations: 20.11 kB / 0.5227 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.5807, allocations: 39.98 kB / 0.5227 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.5808, allocations: 69.67 kB / 0.5228 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.5809, allocations: 12 kB / 0.5228 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.5831, allocations: 2.99 MB / 0.5257 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5831, allocations: 0 / 0.5257 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5842, allocations: 0.8159 MB / 0.5265 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.5847, allocations: 287.5 kB / 0.5268 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5848, allocations: 8 kB / 0.5268 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.5851, allocations: 15.98 kB / 0.5268 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.5852, allocations: 27.97 kB / 0.5268 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.5852, allocations: 15.98 kB / 0.5268 GB, free: 4.953 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007434/0.586, allocations: 0.6118 MB / 0.5274 GB, free: 4.336 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.586, allocations: 4 kB / 0.5274 GB, free: 4.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009652/0.5869, allocations: 247.8 kB / 0.5277 GB, free: 4.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002103/0.5891, allocations: 1.639 MB / 0.5293 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009585/0.59, allocations: 0.7348 MB / 0.53 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.59, allocations: 0 / 0.53 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.5906, allocations: 0.597 MB / 0.5306 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.5911, allocations: 90.59 kB / 0.5307 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.5934, allocations: 1.271 MB / 0.5319 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.594, allocations: 1.022 MB / 0.5329 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.5943, allocations: 68.58 kB / 0.533 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.5946, allocations: 271.3 kB / 0.5332 GB, free: 14.15 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5946, allocations: 0 / 0.5332 GB, free: 14.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2608/0.8554, allocations: 17.17 MB / 0.55 GB, free: 114.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.8556, allocations: 169.1 kB / 0.5501 GB, free: 114 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.216, allocations: 0 / 0.5501 GB, free: 114 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)