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.001212/0.001212, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009179/0.0009178, allocations: 83.09 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.625e-05/4.627e-05, allocations: 7.984 kB / 350.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.151, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4929, allocations: 89.12 MB / 491.2 MB, free: 440 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.4931, allocations: 72.27 kB / 491.3 MB, free: 404 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1061/0.5992, allocations: 38.5 MB / 0.5174 GB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5992, allocations: 0 / 0.5174 GB, free: 11.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.5993, allocations: 19.94 kB / 0.5174 GB, free: 11.41 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.001845/0.6011, allocations: 1.184 MB / 0.5186 GB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.6012, allocations: 8.031 kB / 0.5186 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.6013, allocations: 74.48 kB / 0.5186 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.6015, allocations: 142.4 kB / 0.5188 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6026, allocations: 0.7161 MB / 0.5195 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.6026, allocations: 12.44 kB / 0.5195 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.6027, allocations: 27.91 kB / 0.5195 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.6032, allocations: 302.6 kB / 0.5198 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.6032, allocations: 0 / 0.5198 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.6032, allocations: 15.98 kB / 0.5198 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.6033, allocations: 5.594 kB / 0.5198 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.6036, allocations: 205.8 kB / 0.52 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.6054, allocations: 1.181 MB / 0.5212 GB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.6058, allocations: 238.2 kB / 0.5214 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.6062, allocations: 284.8 kB / 0.5217 GB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.6077, allocations: 1.353 MB / 0.523 GB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.6077, allocations: 42.56 kB / 0.523 GB, free: 5.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 4.008e-06/0.6077, allocations: 0 / 0.523 GB, free: 5.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002078/0.6098, allocations: 1.244 MB / 0.5242 GB, free: 3.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.6099, allocations: 122.7 kB / 0.5244 GB, free: 3.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008521/0.6108, allocations: 0.7653 MB / 0.5251 GB, free: 2.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.6108, allocations: 37.69 kB / 0.5251 GB, free: 2.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.6111, allocations: 349.7 kB / 0.5255 GB, free: 2.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.6112, allocations: 137.9 kB / 0.5256 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.6113, allocations: 4 kB / 0.5256 GB, free: 2.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6114, allocations: 322 kB / 0.5259 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.6116, allocations: 104.3 kB / 0.526 GB, free: 1.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.6118, allocations: 144.9 kB / 0.5262 GB, free: 1.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.612, allocations: 160.9 kB / 0.5263 GB, free: 1.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.612, allocations: 4 kB / 0.5263 GB, free: 1.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007836/0.6128, allocations: 0.4918 MB / 0.5268 GB, free: 1.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.6129, allocations: 37.69 kB / 0.5268 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.6129, allocations: 12 kB / 0.5268 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.6131, allocations: 69.69 kB / 0.5269 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.6133, allocations: 43.91 kB / 0.527 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.6157, allocations: 2.99 MB / 0.5299 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.616, allocations: 16.09 kB / 0.5299 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.6161, allocations: 19.98 kB / 0.5299 GB, free: 13.7 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.0001421/0.6162, allocations: 154.6 kB / 0.5301 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.6163, allocations: 114.6 kB / 0.5302 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.6177, allocations: 0.6523 MB / 0.5308 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6177, allocations: 4 kB / 0.5308 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.6177, allocations: 4 kB / 0.5308 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6178, allocations: 3.984 kB / 0.5308 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.6185, allocations: 0.6161 MB / 0.5314 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/0.6185, allocations: 16 kB / 0.5314 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.6187, allocations: 37.38 kB / 0.5315 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.6189, allocations: 77.56 kB / 0.5315 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.6189, allocations: 12 kB / 0.5316 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.6212, allocations: 2.986 MB / 0.5345 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6212, allocations: 4.125 kB / 0.5345 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.6224, allocations: 0.812 MB / 0.5353 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/0.6228, allocations: 283.5 kB / 0.5355 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/0.6229, allocations: 8 kB / 0.5355 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.6232, allocations: 24.03 kB / 0.5356 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.6233, allocations: 27.97 kB / 0.5356 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.6233, allocations: 23.92 kB / 0.5356 GB, free: 7.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000724/0.6241, allocations: 0.6078 MB / 0.5362 GB, free: 6.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6241, allocations: 0 / 0.5362 GB, free: 6.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009612/0.625, allocations: 255.8 kB / 0.5365 GB, free: 6.602 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.001984/0.627, allocations: 1.645 MB / 0.5381 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009531/0.628, allocations: 0.7453 MB / 0.5388 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.628, allocations: 0 / 0.5388 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006402/0.6287, allocations: 0.5935 MB / 0.5394 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.6292, allocations: 95.41 kB / 0.5395 GB, free: 3.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.6313, allocations: 1.28 MB / 0.5407 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.6319, allocations: 1.026 MB / 0.5417 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.6321, allocations: 60.58 kB / 0.5418 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.6324, allocations: 271.3 kB / 0.542 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6325, allocations: 0 / 0.542 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.6689, allocations: 17.16 MB / 0.5588 GB, free: 15.71 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.6691, allocations: 169.5 kB / 0.5589 GB, free: 15.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.137, allocations: 2.625 kB / 0.559 GB, free: 15.48 MB / 442.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)