Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 86.23 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.106e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09912, allocations: 47.6 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4488, allocations: 85.87 MB / 449 MB, free: 9.648 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4491, allocations: 70.28 kB / 449.1 MB, free: 9.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09074/0.5399, allocations: 35.79 MB / 484.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.5399, allocations: 3.938 kB / 484.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.5399, allocations: 16 kB / 484.9 MB, free: 11.77 MB / 362.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.002119/0.5421, allocations: 1.178 MB / 486.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5421, allocations: 12.03 kB / 486.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.5424, allocations: 126.4 kB / 486.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.5435, allocations: 0.7306 MB / 487 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5435, allocations: 11.94 kB / 487 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.5436, allocations: 15.91 kB / 487 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003487/0.5439, allocations: 193 kB / 487.2 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.5444, allocations: 265.8 kB / 487.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5444, allocations: 0 / 487.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.5444, allocations: 0 / 487.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.5444, allocations: 8 kB / 487.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.5462, allocations: 1.124 MB / 488.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.5465, allocations: 222.5 kB / 488.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.5469, allocations: 277.3 kB / 489.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.5486, allocations: 1.278 MB / 490.3 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.5487, allocations: 42.5 kB / 490.4 MB, free: 5.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.365e-06/0.5487, allocations: 0 / 490.4 MB, free: 5.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.002713/0.5514, allocations: 1.149 MB / 491.5 MB, free: 4.656 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.5515, allocations: 106.8 kB / 491.6 MB, free: 4.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.5525, allocations: 0.709 MB / 492.3 MB, free: 3.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.5525, allocations: 29.64 kB / 492.4 MB, free: 3.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.5528, allocations: 361.6 kB / 492.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.553, allocations: 130 kB / 492.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.553, allocations: 0 / 492.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5531, allocations: 325.9 kB / 493.2 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.5533, allocations: 100.3 kB / 493.3 MB, free: 2.867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.5536, allocations: 126.8 kB / 493.4 MB, free: 2.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.5539, allocations: 140 kB / 493.5 MB, free: 2.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5539, allocations: 0 / 493.5 MB, free: 2.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009423/0.5549, allocations: 477.9 kB / 494 MB, free: 2.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.555, allocations: 33.7 kB / 494 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.905e-05/0.555, allocations: 15.98 kB / 494 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.5553, allocations: 73.72 kB / 494.1 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.5555, allocations: 35.97 kB / 494.2 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.5578, allocations: 2.898 MB / 497 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.5582, allocations: 8.031 kB / 497.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.5582, allocations: 15.98 kB / 497.1 MB, free: 14.8 MB / 378.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.0001556/0.5584, allocations: 146.6 kB / 497.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008814/0.5593, allocations: 0.5058 MB / 497.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5594, allocations: 126.5 kB / 497.8 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.5608, allocations: 0.5931 MB / 498.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5608, allocations: 8.078 kB / 498.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5608, allocations: 8 kB / 498.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5608, allocations: 3.984 kB / 498.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007616/0.5616, allocations: 0.5601 MB / 499 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/0.5616, allocations: 15.98 kB / 499 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.5618, allocations: 39.91 kB / 499.1 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.562, allocations: 61.69 kB / 499.1 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.5621, allocations: 15.98 kB / 499.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.5642, allocations: 2.894 MB / 0.4903 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5642, allocations: 0 / 0.4903 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.5654, allocations: 0.7636 MB / 0.491 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.5658, allocations: 291.4 kB / 0.4913 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.5659, allocations: 0 / 0.4913 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.5662, allocations: 8 kB / 0.4913 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.5663, allocations: 36.02 kB / 0.4913 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.5663, allocations: 19.98 kB / 0.4914 GB, free: 8.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007164/0.567, allocations: 0.5438 MB / 0.4919 GB, free: 7.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5671, allocations: 0 / 0.4919 GB, free: 7.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009514/0.568, allocations: 235.8 kB / 0.4921 GB, free: 7.578 MB / 378.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.002091/0.5701, allocations: 1.615 MB / 0.4937 GB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009632/0.5711, allocations: 0.6973 MB / 0.4944 GB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5711, allocations: 4.062 kB / 0.4944 GB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.5717, allocations: 0.5796 MB / 0.4949 GB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.5721, allocations: 87.97 kB / 0.495 GB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.5743, allocations: 1.257 MB / 0.4963 GB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.5748, allocations: 1.023 MB / 0.4973 GB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.5751, allocations: 64.58 kB / 0.4973 GB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.5754, allocations: 271.3 kB / 0.4976 GB, free: 1.766 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5754, allocations: 0 / 0.4976 GB, free: 1.766 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.6129, allocations: 14.55 MB / 0.5118 GB, free: 3.195 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.6131, allocations: 125.7 kB / 0.5119 GB, free: 3.008 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.893, allocations: 0 / 0.5119 GB, free: 3.008 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)