Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009613/0.0009611, allocations: 100.1 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.753e-05, allocations: 0 / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 51.48 MB / 395.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.548, allocations: 88.46 MB / 483.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.5483, allocations: 74.14 kB / 483.8 MB, free: 4.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0985/0.6468, allocations: 37.79 MB / 0.5094 GB, free: 4.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.6468, allocations: 0 / 0.5094 GB, free: 4.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.449e-05/0.6469, allocations: 16 kB / 0.5094 GB, free: 3.996 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002382/0.6492, allocations: 1.189 MB / 0.5105 GB, free: 2.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.6493, allocations: 8.031 kB / 0.5105 GB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/0.6497, allocations: 146.4 kB / 0.5107 GB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.651, allocations: 0.7222 MB / 0.5114 GB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.651, allocations: 8 kB / 0.5114 GB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.6511, allocations: 15.91 kB / 0.5114 GB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003699/0.6515, allocations: 197 kB / 0.5116 GB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.652, allocations: 265.8 kB / 0.5118 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.652, allocations: 0 / 0.5118 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.652, allocations: 4 kB / 0.5119 GB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.652, allocations: 7.938 kB / 0.5119 GB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.6541, allocations: 1.128 MB / 0.513 GB, free: 164 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.6544, allocations: 218.5 kB / 0.5132 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.6549, allocations: 283.2 kB / 0.5134 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.6566, allocations: 1.361 MB / 0.5148 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.6566, allocations: 34.5 kB / 0.5148 GB, free: 13.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 1.693e-06/0.6566, allocations: 4 kB / 0.5148 GB, free: 13.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002536/0.6591, allocations: 1.153 MB / 0.5159 GB, free: 12.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.6592, allocations: 118.8 kB / 0.516 GB, free: 12.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.6602, allocations: 0.709 MB / 0.5167 GB, free: 11.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.6603, allocations: 25.7 kB / 0.5168 GB, free: 11.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.6606, allocations: 349.7 kB / 0.5171 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6607, allocations: 134 kB / 0.5172 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.6607, allocations: 0 / 0.5172 GB, free: 11.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6609, allocations: 325.9 kB / 0.5175 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.6611, allocations: 96.27 kB / 0.5176 GB, free: 10.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.6613, allocations: 138.8 kB / 0.5178 GB, free: 10.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.6616, allocations: 135.4 kB / 0.5179 GB, free: 10.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6616, allocations: 0 / 0.5179 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009059/0.6625, allocations: 473.6 kB / 0.5183 GB, free: 10.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.6626, allocations: 41.77 kB / 0.5184 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/0.6626, allocations: 15.98 kB / 0.5184 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.6629, allocations: 61.69 kB / 0.5185 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.6631, allocations: 43.91 kB / 0.5185 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.6656, allocations: 2.889 MB / 0.5213 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.666, allocations: 12.02 kB / 0.5213 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.666, allocations: 28.05 kB / 0.5214 GB, free: 6.898 MB / 394.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.0001736/0.6662, allocations: 138.6 kB / 0.5215 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009226/0.6672, allocations: 0.4976 MB / 0.522 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.6673, allocations: 122.5 kB / 0.5221 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.6688, allocations: 0.6132 MB / 0.5227 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6688, allocations: 4 kB / 0.5227 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6688, allocations: 0 / 0.5227 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6688, allocations: 3.984 kB / 0.5227 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007972/0.6696, allocations: 0.5524 MB / 0.5232 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.6697, allocations: 19.98 kB / 0.5233 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.6698, allocations: 31.98 kB / 0.5233 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.67, allocations: 69.67 kB / 0.5234 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.6701, allocations: 11.98 kB / 0.5234 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.6725, allocations: 2.902 MB / 0.5262 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6725, allocations: 0 / 0.5262 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.6737, allocations: 0.7596 MB / 0.5269 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.6741, allocations: 287.4 kB / 0.5272 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6743, allocations: 7.984 kB / 0.5272 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.6746, allocations: 4 kB / 0.5272 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.6747, allocations: 35.89 kB / 0.5273 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.6747, allocations: 16 kB / 0.5273 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007337/0.6755, allocations: 0.5478 MB / 0.5278 GB, free: 15.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6755, allocations: 0 / 0.5278 GB, free: 15.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001001/0.6765, allocations: 243.8 kB / 0.528 GB, free: 15.7 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.002333/0.6788, allocations: 1.622 MB / 0.5296 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.6799, allocations: 0.6976 MB / 0.5303 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6799, allocations: 7.938 kB / 0.5303 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.6805, allocations: 0.5771 MB / 0.5309 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.6811, allocations: 96.83 kB / 0.531 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.6835, allocations: 1.25 MB / 0.5322 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.6841, allocations: 1.019 MB / 0.5332 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.6844, allocations: 68.52 kB / 0.5333 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.6847, allocations: 275.3 kB / 0.5335 GB, free: 9.879 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6847, allocations: 4 kB / 0.5335 GB, free: 9.875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.7301, allocations: 14.56 MB / 0.5477 GB, free: 11.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.7304, allocations: 127.9 kB / 0.5479 GB, free: 11.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.176, allocations: 2.75 kB / 0.5479 GB, free: 11.2 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)