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.001175/0.001175, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000942/0.0009421, allocations: 97.52 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002383, allocations: 11.98 kB / 358 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2148, allocations: 51.47 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3197, allocations: 89.2 MB / 498.7 MB, free: 1.395 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.32, allocations: 72.59 kB / 498.8 MB, free: 1.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2898/0.6098, allocations: 38.6 MB / 0.5248 GB, free: 85.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6098, allocations: 0 / 0.5248 GB, free: 85.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.6098, allocations: 18.25 kB / 0.5248 GB, free: 85.81 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.001725/0.6116, allocations: 1.4 MB / 0.5261 GB, free: 84.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.6116, allocations: 11.5 kB / 0.5262 GB, free: 84.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.6117, allocations: 66.12 kB / 0.5262 GB, free: 84.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.6119, allocations: 135.6 kB / 0.5263 GB, free: 84.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.6127, allocations: 0.7233 MB / 0.5271 GB, free: 83.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.6127, allocations: 16.03 kB / 0.5271 GB, free: 83.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.6128, allocations: 25.31 kB / 0.5271 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.6132, allocations: 311.1 kB / 0.5274 GB, free: 83.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6132, allocations: 0 / 0.5274 GB, free: 83.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.6132, allocations: 8 kB / 0.5274 GB, free: 83.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.6133, allocations: 4 kB / 0.5274 GB, free: 83.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.6136, allocations: 225.8 kB / 0.5276 GB, free: 83.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.6151, allocations: 1.185 MB / 0.5288 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.6154, allocations: 238.5 kB / 0.529 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.6166, allocations: 1.364 MB / 0.5303 GB, free: 80.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.6166, allocations: 34.56 kB / 0.5304 GB, free: 80.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.6166, allocations: 0 / 0.5304 GB, free: 80.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002696/0.6193, allocations: 2.068 MB / 0.5324 GB, free: 77.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.6194, allocations: 118.7 kB / 0.5325 GB, free: 77.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.6201, allocations: 0.783 MB / 0.5333 GB, free: 77.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.6202, allocations: 33.7 kB / 0.5333 GB, free: 77.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.6204, allocations: 349.7 kB / 0.5336 GB, free: 76.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.6204, allocations: 137.9 kB / 0.5338 GB, free: 76.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.6205, allocations: 11.94 kB / 0.5338 GB, free: 76.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.6205, allocations: 318 kB / 0.5341 GB, free: 76.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.6207, allocations: 120.2 kB / 0.5342 GB, free: 76.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.6209, allocations: 163.4 kB / 0.5343 GB, free: 75.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.6212, allocations: 173.8 kB / 0.5345 GB, free: 75.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6212, allocations: 0 / 0.5345 GB, free: 75.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006776/0.6218, allocations: 0.5268 MB / 0.535 GB, free: 75.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.6219, allocations: 41.69 kB / 0.5351 GB, free: 75.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.6219, allocations: 12 kB / 0.5351 GB, free: 75.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.6221, allocations: 69.7 kB / 0.5351 GB, free: 75.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.6224, allocations: 39.92 kB / 0.5352 GB, free: 75.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.624, allocations: 3.009 MB / 0.5381 GB, free: 71.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.6243, allocations: 12.03 kB / 0.5381 GB, free: 71.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.6243, allocations: 15.98 kB / 0.5381 GB, free: 71.72 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 () * Number of clocked 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.0003096/0.6246, allocations: 259.1 kB / 0.5384 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6248, allocations: 122.5 kB / 0.5385 GB, free: 71.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.6259, allocations: 0.6726 MB / 0.5392 GB, free: 70.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.626, allocations: 4 kB / 0.5392 GB, free: 70.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.626, allocations: 4.125 kB / 0.5392 GB, free: 70.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.626, allocations: 4 kB / 0.5392 GB, free: 70.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.6266, allocations: 0.6082 MB / 0.5398 GB, free: 69.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/0.6266, allocations: 15.98 kB / 0.5398 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.6268, allocations: 35.92 kB / 0.5398 GB, free: 69.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.6269, allocations: 73.62 kB / 0.5399 GB, free: 69.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.627, allocations: 19.92 kB / 0.5399 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.6285, allocations: 3.005 MB / 0.5428 GB, free: 66.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6285, allocations: 12.11 kB / 0.5429 GB, free: 66.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.6296, allocations: 0.8508 MB / 0.5437 GB, free: 65.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.6299, allocations: 287.5 kB / 0.544 GB, free: 65.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.63, allocations: 7.984 kB / 0.544 GB, free: 65.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.6303, allocations: 15.98 kB / 0.544 GB, free: 65.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.6304, allocations: 31.95 kB / 0.544 GB, free: 65.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.6305, allocations: 20 kB / 0.544 GB, free: 65.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006032/0.6311, allocations: 0.6179 MB / 0.5446 GB, free: 64.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6311, allocations: 0 / 0.5446 GB, free: 64.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008963/0.632, allocations: 263.7 kB / 0.5449 GB, free: 64.41 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 () * Number of clocked 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.001749/0.6337, allocations: 1.697 MB / 0.5465 GB, free: 62.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008701/0.6346, allocations: 0.7654 MB / 0.5473 GB, free: 61.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6346, allocations: 0 / 0.5473 GB, free: 61.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.6351, allocations: 0.6166 MB / 0.5479 GB, free: 61.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.6356, allocations: 93.88 kB / 0.548 GB, free: 61.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.6408, allocations: 4.727 MB / 0.5526 GB, free: 56.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.6411, allocations: 1.019 MB / 0.5536 GB, free: 55.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.6414, allocations: 68.58 kB / 0.5537 GB, free: 55.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.6416, allocations: 271.3 kB / 0.5539 GB, free: 54.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6416, allocations: 0 / 0.5539 GB, free: 54.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.6684, allocations: 16.92 MB / 0.5704 GB, free: 38.03 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001185/0.6685, allocations: 186.9 kB / 0.5706 GB, free: 37.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.022, allocations: 0 / 0.5706 GB, free: 37.79 MB / 378.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)