Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009719/0.000972, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008623/0.0008624, allocations: 86.7 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.512e-05/1.514e-05, allocations: 4 kB / 315.6 MB, free: 22.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08716, allocations: 47.58 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.299/0.3862, allocations: 80.33 MB / 443.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.3865, allocations: 81.52 kB / 443.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.404, allocations: 7.036 MB / 450.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.404, allocations: 0 / 450.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.404, allocations: 12 kB / 450.6 MB, free: 9.152 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009419/0.405, allocations: 0.6509 MB / 451.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.405, allocations: 12.03 kB / 451.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.571e-05/0.4051, allocations: 51.44 kB / 451.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.4056, allocations: 364.9 kB / 451.7 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.4056, allocations: 12 kB / 451.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.4057, allocations: 31.94 kB / 451.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004484/0.4062, allocations: 265.1 kB / 452 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.4067, allocations: 385.5 kB / 452.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4068, allocations: 0 / 452.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.4068, allocations: 0 / 452.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4068, allocations: 12 kB / 452.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.4089, allocations: 1.768 MB / 454.2 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.4095, allocations: 0.575 MB / 454.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.4098, allocations: 215.7 kB / 454.9 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.4099, allocations: 4.328 kB / 454.9 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.4102, allocations: 250.2 kB / 455.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.4102, allocations: 0 / 455.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.000763/0.411, allocations: 416.6 kB / 455.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4111, allocations: 88.62 kB / 455.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.4113, allocations: 240.9 kB / 455.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.4113, allocations: 29.2 kB / 455.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4115, allocations: 214.5 kB / 456.2 MB, free: 4.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.4116, allocations: 127.9 kB / 456.3 MB, free: 4.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.4116, allocations: 0 / 456.3 MB, free: 4.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4117, allocations: 348.5 kB / 456.6 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.4119, allocations: 97.88 kB / 456.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.4121, allocations: 230.5 kB / 456.9 MB, free: 3.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.4123, allocations: 123.7 kB / 457.1 MB, free: 3.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4123, allocations: 0 / 457.1 MB, free: 3.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006352/0.4129, allocations: 445.2 kB / 457.5 MB, free: 3.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.413, allocations: 11.94 kB / 457.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.413, allocations: 4 kB / 457.5 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.4134, allocations: 147.4 kB / 457.7 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4136, allocations: 66.66 kB / 457.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.4158, allocations: 2.213 MB / 459.9 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.4161, allocations: 35.72 kB / 460 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.4161, allocations: 15.5 kB / 460 MB, free: 1.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.4163, allocations: 124.9 kB / 460.1 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000662/0.4169, allocations: 413 kB / 460.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.417, allocations: 35.53 kB / 460.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.065e-05/0.4171, allocations: 44.3 kB / 460.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4171, allocations: 4 kB / 460.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.4171, allocations: 0 / 460.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4171, allocations: 7.922 kB / 460.6 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.4182, allocations: 0.8976 MB / 461.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4182, allocations: 0 / 461.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.4184, allocations: 39.72 kB / 461.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000337/0.4188, allocations: 133.2 kB / 461.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.4188, allocations: 7.688 kB / 461.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.421, allocations: 2.21 MB / 463.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.421, allocations: 3.984 kB / 463.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.4218, allocations: 0.6494 MB / 464.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.422, allocations: 147 kB / 464.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.422, allocations: 4 kB / 464.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.4222, allocations: 7.984 kB / 464.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.4223, allocations: 38.72 kB / 464.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.4224, allocations: 15.23 kB / 464.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.4226, allocations: 187.9 kB / 464.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4226, allocations: 0 / 464.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005715/0.4231, allocations: 127.7 kB / 465.1 MB, free: 12.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.4243, allocations: 1.192 MB / 466.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007467/0.425, allocations: 488.4 kB / 466.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4251, allocations: 0 / 466.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.4255, allocations: 345.8 kB / 467.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4258, allocations: 57.95 kB / 467.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.4273, allocations: 0.6428 MB / 467.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.4276, allocations: 0.8425 MB / 468.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.4278, allocations: 35.27 kB / 468.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4279, allocations: 135 kB / 468.8 MB, free: 9.609 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4279, allocations: 0 / 468.8 MB, free: 9.609 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.4549, allocations: 8.415 MB / 477.2 MB, free: 1.191 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.4551, allocations: 185.4 kB / 477.4 MB, free: 1 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.508, allocations: 3.938 kB / 477.4 MB, free: 0.9961 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat