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.001026/0.001026, allocations: 100.1 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 200.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002485, allocations: 4 kB / 306.7 MB, free: 1.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 51.49 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004275/0.1219, allocations: 4.21 MB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007618/0.1295, allocations: 5.764 MB / 368.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.1301, allocations: 35.69 kB / 368.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.1313, allocations: 406 kB / 368.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.1334, allocations: 0.7125 MB / 369.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.1343, allocations: 307.2 kB / 369.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002679/0.137, allocations: 1.86 MB / 371.5 MB, free: 492 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.1373, allocations: 152 kB / 371.6 MB, free: 324 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.1378, allocations: 314.4 kB / 371.9 MB, free: 8 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1857/0.3235, allocations: 304 kB / 372.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.3237, allocations: 17.44 kB / 372.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.3257, allocations: 455.3 kB / 372.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3259, allocations: 88.67 kB / 372.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.3262, allocations: 215.3 kB / 373 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.3278, allocations: 0.9106 MB / 373.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3278, allocations: 0 / 373.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.3278, allocations: 5.031 kB / 373.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.3278, allocations: 0.6562 kB / 373.9 MB, free: 9.707 MB / 302.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.001999/0.3298, allocations: 1.31 MB / 375.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3299, allocations: 9.469 kB / 375.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/0.33, allocations: 59.05 kB / 375.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.3303, allocations: 141.5 kB / 375.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.3316, allocations: 0.795 MB / 376.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3317, allocations: 17.03 kB / 376.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.3317, allocations: 28.56 kB / 376.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006023/0.3323, allocations: 307.5 kB / 376.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3324, allocations: 2.281 kB / 376.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.3324, allocations: 9.453 kB / 376.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3324, allocations: 5.344 kB / 376.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.3329, allocations: 230.1 kB / 376.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.3346, allocations: 1.147 MB / 377.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.335, allocations: 249.4 kB / 378.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000844/0.3359, allocations: 0.8339 MB / 379 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3359, allocations: 36.41 kB / 379 MB, free: 7.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/0.3359, allocations: 0 / 379 MB, free: 7.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.003069/0.339, allocations: 1.975 MB / 381 MB, free: 5.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3391, allocations: 111.1 kB / 381.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.3402, allocations: 0.9242 MB / 382.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3402, allocations: 31.61 kB / 382.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.3404, allocations: 359.2 kB / 382.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.008e-05/0.3405, allocations: 132.8 kB / 382.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.3406, allocations: 3.938 kB / 382.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.3406, allocations: 320.7 kB / 382.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.3408, allocations: 124 kB / 383 MB, free: 5.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.3411, allocations: 163.7 kB / 383.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.3414, allocations: 185 kB / 383.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3414, allocations: 0.75 kB / 383.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000886/0.3423, allocations: 0.5549 MB / 383.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.3423, allocations: 38.8 kB / 383.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.3424, allocations: 14.19 kB / 384 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.3426, allocations: 73.94 kB / 384 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3428, allocations: 46.53 kB / 384.1 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.3447, allocations: 3.004 MB / 387.1 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.3451, allocations: 13.3 kB / 387.1 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.3452, allocations: 19.39 kB / 387.1 MB, free: 2.176 MB / 302.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 (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.0004323/0.3456, allocations: 268.1 kB / 387.4 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.3458, allocations: 121 kB / 387.5 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.3471, allocations: 0.6797 MB / 388.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3472, allocations: 4 kB / 388.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3472, allocations: 1.125 kB / 388.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3472, allocations: 7.094 kB / 388.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008184/0.348, allocations: 0.6095 MB / 388.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/0.348, allocations: 20.56 kB / 388.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.3482, allocations: 35.5 kB / 388.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.3484, allocations: 69.75 kB / 388.9 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.3485, allocations: 14.23 kB / 388.9 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.3505, allocations: 3.015 MB / 391.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3505, allocations: 12.81 kB / 392 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3519, allocations: 0.8644 MB / 392.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/0.3525, allocations: 282.3 kB / 393.1 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3526, allocations: 6.953 kB / 393.1 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3529, allocations: 14.86 kB / 393.1 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.353, allocations: 36.17 kB / 393.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.353, allocations: 20.28 kB / 393.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008904/0.3539, allocations: 0.6179 MB / 393.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3539, allocations: 0 / 393.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001021/0.355, allocations: 224 kB / 394 MB, free: 14.35 MB / 318.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 (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.002154/0.3571, allocations: 1.603 MB / 395.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3583, allocations: 0.7786 MB / 396.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3583, allocations: 5.375 kB / 396.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006671/0.359, allocations: 0.6141 MB / 397 MB, free: 12.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.3596, allocations: 110.7 kB / 397.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.3632, allocations: 2.462 MB / 399.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.3638, allocations: 1.024 MB / 400.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003764/0.3642, allocations: 93.91 kB / 400.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.3645, allocations: 282.5 kB / 401 MB, free: 10.53 MB / 318.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3645, allocations: 3.281 kB / 401 MB, free: 10.53 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.399, allocations: 15.28 MB / 416.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.3992, allocations: 198.9 kB / 416.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.449, allocations: 0 / 416.4 MB, free: 14.82 MB / 334.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/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)