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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001779, allocations: 67.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2598, allocations: 50.55 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006395/0.2663, allocations: 5.204 MB / 414 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008812/0.2751, allocations: 6.666 MB / 420.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00054/0.2757, allocations: 47.62 kB / 420.7 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.2769, allocations: 0.4998 MB / 421.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.279, allocations: 0.8069 MB / 422 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.2802, allocations: 442.4 kB / 422.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.2832, allocations: 2.048 MB / 424.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003061/0.2835, allocations: 159 kB / 424.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.284, allocations: 362.2 kB / 425 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.2844, allocations: 341.7 kB / 425.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.2845, allocations: 28 kB / 425.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.2856, allocations: 0.4956 MB / 425.9 MB, free: 360 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.2857, allocations: 115.2 kB / 426 MB, free: 244 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.2861, allocations: 445.1 kB / 426.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.2877, allocations: 1.291 MB / 427.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2878, allocations: 4 kB / 427.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2878, allocations: 0 / 427.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.2878, allocations: 0 / 427.7 MB, free: 14.5 MB / 350.1 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.002042/0.2898, allocations: 1.494 MB / 429.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2899, allocations: 8.031 kB / 429.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.254e-05/0.29, allocations: 62.53 kB / 429.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.2903, allocations: 147.1 kB / 429.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.2914, allocations: 0.8593 MB / 430.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2915, allocations: 16.38 kB / 430.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.2915, allocations: 27.95 kB / 430.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.2921, allocations: 306.7 kB / 430.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2921, allocations: 0 / 430.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.2921, allocations: 12 kB / 430.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2921, allocations: 7.938 kB / 430.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.2926, allocations: 229.8 kB / 430.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.2943, allocations: 1.118 MB / 432 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.2948, allocations: 242.4 kB / 432.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.2953, allocations: 304.9 kB / 432.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.2964, allocations: 0.8308 MB / 433.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2964, allocations: 38.56 kB / 433.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.814e-06/0.2964, allocations: 0 / 433.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002991/0.2994, allocations: 1.56 MB / 435 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.2995, allocations: 110.8 kB / 435.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3006, allocations: 0.9379 MB / 436 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.3006, allocations: 29.7 kB / 436 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.3009, allocations: 353.8 kB / 436.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3011, allocations: 138.8 kB / 436.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.3013, allocations: 121.7 kB / 436.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3014, allocations: 325.9 kB / 437 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.3017, allocations: 124.6 kB / 437.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.3019, allocations: 155.8 kB / 437.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.3034, allocations: 0.7373 MB / 438 MB, free: 3.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3034, allocations: 0 / 438 MB, free: 3.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009766/0.3044, allocations: 0.5623 MB / 438.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.3045, allocations: 40.7 kB / 438.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/0.3045, allocations: 23.92 kB / 438.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.3047, allocations: 65.69 kB / 438.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.305, allocations: 43.97 kB / 438.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.3079, allocations: 3.339 MB / 442 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.3082, allocations: 20.08 kB / 442.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.3082, allocations: 16 kB / 442.1 MB, free: 15.28 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000401/0.3086, allocations: 252 kB / 442.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.3088, allocations: 131.1 kB / 442.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.3101, allocations: 0.6646 MB / 443.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.3101, allocations: 4 kB / 443.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3102, allocations: 3.984 kB / 443.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3102, allocations: 0 / 443.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.3109, allocations: 0.6199 MB / 443.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/0.311, allocations: 19.94 kB / 443.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3112, allocations: 31.97 kB / 443.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.3114, allocations: 69.61 kB / 443.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.3114, allocations: 24 kB / 443.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.3144, allocations: 3.328 MB / 447.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3144, allocations: 4.031 kB / 447.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3159, allocations: 0.8555 MB / 448.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.3163, allocations: 276.2 kB / 448.3 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.554e-05/0.3164, allocations: 8.062 kB / 448.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3167, allocations: 23.92 kB / 448.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.3168, allocations: 31.91 kB / 448.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.3169, allocations: 16 kB / 448.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008816/0.3178, allocations: 0.6295 MB / 449 MB, free: 7.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3178, allocations: 0 / 449 MB, free: 7.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008504/0.3186, allocations: 227.5 kB / 449.3 MB, free: 7.668 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002446/0.3211, allocations: 1.613 MB / 450.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3224, allocations: 0.7806 MB / 451.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3224, allocations: 0 / 451.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007681/0.3232, allocations: 0.6244 MB / 452.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.3239, allocations: 116.6 kB / 452.4 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008055/0.3319, allocations: 5.765 MB / 458.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/0.3326, allocations: 1.008 MB / 459.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.3329, allocations: 93.62 kB / 459.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.3333, allocations: 283.3 kB / 459.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3333, allocations: 0 / 459.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0507/0.384, allocations: 17.29 MB / 476.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.11, allocations: 0 / 476.8 MB, free: 11.83 MB / 398.1 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/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)