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.001075/0.001075, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 62.42 kB / 307 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1089, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.01034/0.1193, allocations: 5.205 MB / 362.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.1341, allocations: 6.666 MB / 369.4 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.1354, allocations: 39.69 kB / 369.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.1378, allocations: 0.4968 MB / 370 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.1426, allocations: 0.8186 MB / 370.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.145, allocations: 438.4 kB / 371.2 MB, free: 280 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2192/0.3642, allocations: 2.026 MB / 373.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.3646, allocations: 164.2 kB / 373.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.3652, allocations: 356.4 kB / 373.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.3656, allocations: 345.2 kB / 374.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.3656, allocations: 29.75 kB / 374.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.3668, allocations: 0.5006 MB / 374.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.3669, allocations: 110 kB / 374.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.3672, allocations: 446 kB / 375.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.3685, allocations: 1.269 MB / 376.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3686, allocations: 0 / 376.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3686, allocations: 1.953 kB / 376.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3686, allocations: 0 / 376.4 MB, free: 9.18 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.001616/0.3702, allocations: 1.447 MB / 377.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3702, allocations: 10.62 kB / 377.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.3703, allocations: 61.2 kB / 378 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.3706, allocations: 135.8 kB / 378.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.3715, allocations: 0.8522 MB / 378.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3716, allocations: 16.56 kB / 379 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.3716, allocations: 31.72 kB / 379 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.3721, allocations: 308.5 kB / 379.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3721, allocations: 1.219 kB / 379.3 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3722, allocations: 13.47 kB / 379.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3722, allocations: 6.094 kB / 379.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.3726, allocations: 222.3 kB / 379.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.3741, allocations: 1.133 MB / 380.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.3744, allocations: 242.2 kB / 380.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.3749, allocations: 296.6 kB / 381.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.3756, allocations: 0.8264 MB / 382 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3757, allocations: 38.95 kB / 382.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 1.934e-06/0.3757, allocations: 0 / 382.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002654/0.3784, allocations: 1.56 MB / 383.6 MB, free: 5.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3784, allocations: 111.8 kB / 383.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3794, allocations: 0.931 MB / 384.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3795, allocations: 29.16 kB / 384.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.3797, allocations: 364.3 kB / 385 MB, free: 4.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.3798, allocations: 128.5 kB / 385.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.3799, allocations: 119.3 kB / 385.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.38, allocations: 326.5 kB / 385.6 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.3802, allocations: 123.1 kB / 385.7 MB, free: 3.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.3805, allocations: 155.8 kB / 385.9 MB, free: 3.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3818, allocations: 0.7276 MB / 386.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3818, allocations: 1.281 kB / 386.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009414/0.3828, allocations: 0.5591 MB / 387.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.3828, allocations: 40.98 kB / 387.2 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.3828, allocations: 16.8 kB / 387.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.3831, allocations: 67.97 kB / 387.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.3833, allocations: 51.28 kB / 387.3 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.3853, allocations: 3.323 MB / 390.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.3857, allocations: 12.8 kB / 390.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.3858, allocations: 20.23 kB / 390.7 MB, free: 15.93 MB / 318.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.0005029/0.3863, allocations: 266.9 kB / 390.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.3865, allocations: 125.6 kB / 391.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.3881, allocations: 0.6726 MB / 391.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3882, allocations: 3.344 kB / 391.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3882, allocations: 1.125 kB / 391.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.3882, allocations: 2.641 kB / 391.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.3893, allocations: 0.6161 MB / 392.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/0.3894, allocations: 18.47 kB / 392.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3896, allocations: 30.64 kB / 392.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.3899, allocations: 79.34 kB / 392.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.3899, allocations: 14.44 kB / 392.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.393, allocations: 3.329 MB / 395.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.393, allocations: 0 / 395.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.3951, allocations: 0.8653 MB / 396.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/0.3957, allocations: 269.5 kB / 397 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3958, allocations: 11.38 kB / 397 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.3961, allocations: 17.66 kB / 397 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.3963, allocations: 31.44 kB / 397 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.3963, allocations: 17.5 kB / 397 MB, free: 11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.3975, allocations: 0.6275 MB / 397.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3975, allocations: 0 / 397.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001339/0.3989, allocations: 225.5 kB / 397.9 MB, free: 10.7 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 (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.002281/0.4012, allocations: 1.595 MB / 399.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.4028, allocations: 0.7969 MB / 400.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4028, allocations: 0 / 400.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.4035, allocations: 0.6151 MB / 400.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.4043, allocations: 110.6 kB / 401 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/0.4111, allocations: 5.999 MB / 407 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.4116, allocations: 0.9984 MB / 408 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000324/0.4119, allocations: 101.6 kB / 408.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.4122, allocations: 279.3 kB / 408.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4122, allocations: 0 / 408.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/0.5191, allocations: 17.07 MB / 425.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.33, allocations: 4.062 kB / 425.4 MB, free: 2.953 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/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)