Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.5 MB / 230.3 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009689/0.0009688, allocations: 95.09 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.616e-05, allocations: 4 kB / 337.2 MB, free: 9.902 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09212, allocations: 50.42 MB / 387.6 MB, free: 7.441 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/0.3984, allocations: 81.37 MB / 468.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.3987, allocations: 85.75 kB / 469 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01997/0.4187, allocations: 7.228 MB / 476.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4187, allocations: 4.844 kB / 476.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.135e-05/0.4188, allocations: 12 kB / 476.3 MB, free: 5.938 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001137/0.4199, allocations: 0.6516 MB / 476.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.42, allocations: 12.03 kB / 476.9 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.4201, allocations: 55.34 kB / 477 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.4207, allocations: 363.3 kB / 477.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.4207, allocations: 16 kB / 477.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.4208, allocations: 24 kB / 477.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005825/0.4214, allocations: 274.6 kB / 477.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.422, allocations: 394.5 kB / 478 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.4221, allocations: 0 / 478 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.4221, allocations: 0 / 478 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.4221, allocations: 12 kB / 478.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.4246, allocations: 1.787 MB / 479.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.4253, allocations: 0.5753 MB / 480.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.4257, allocations: 209.8 kB / 480.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.4258, allocations: 12.33 kB / 480.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.4262, allocations: 249.1 kB / 480.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.4262, allocations: 0 / 480.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.000848/0.4271, allocations: 409.8 kB / 481.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.4271, allocations: 81.11 kB / 481.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.4274, allocations: 249.1 kB / 481.6 MB, free: 300 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.4275, allocations: 29.7 kB / 481.6 MB, free: 264 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.4276, allocations: 212.9 kB / 481.8 MB, free: 48 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4277, allocations: 130.3 kB / 482 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.4278, allocations: 0 / 482 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4279, allocations: 342.8 kB / 482.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.4281, allocations: 101.1 kB / 482.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.4284, allocations: 227 kB / 482.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.4286, allocations: 129.4 kB / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4286, allocations: 0 / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007351/0.4293, allocations: 441 kB / 483.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4294, allocations: 11.98 kB / 483.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4294, allocations: 0 / 483.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/0.4298, allocations: 149.2 kB / 483.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.4301, allocations: 63.91 kB / 483.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.4328, allocations: 2.232 MB / 485.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.4331, allocations: 27.69 kB / 485.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.4331, allocations: 16 kB / 485.7 MB, free: 12.02 MB / 362.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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.0001525/0.4333, allocations: 121.2 kB / 485.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007224/0.434, allocations: 429.6 kB / 486.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.4341, allocations: 35.56 kB / 486.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.4342, allocations: 39.53 kB / 486.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4342, allocations: 4 kB / 486.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.4342, allocations: 0 / 486.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4342, allocations: 0 / 486.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.4354, allocations: 0.8906 MB / 487.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4354, allocations: 7.875 kB / 487.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.4356, allocations: 39.97 kB / 487.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003699/0.436, allocations: 132.7 kB / 487.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.4361, allocations: 15.94 kB / 487.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.4385, allocations: 2.207 MB / 489.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4385, allocations: 0 / 489.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.4394, allocations: 0.6528 MB / 490.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.4396, allocations: 148.5 kB / 490.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.4397, allocations: 4 kB / 490.4 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4399, allocations: 7.984 kB / 490.4 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.44, allocations: 35.95 kB / 490.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.44, allocations: 15.98 kB / 490.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.4402, allocations: 196.6 kB / 490.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4402, allocations: 0 / 490.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006428/0.4409, allocations: 131.6 kB / 490.8 MB, free: 6.715 MB / 362.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.001272/0.4422, allocations: 1.198 MB / 492 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008139/0.443, allocations: 480.9 kB / 492.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.443, allocations: 4 kB / 492.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.4435, allocations: 342.3 kB / 492.8 MB, free: 4.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4438, allocations: 52.67 kB / 492.8 MB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.4454, allocations: 0.6718 MB / 493.5 MB, free: 3.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.4458, allocations: 0.8357 MB / 494.3 MB, free: 3.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.4459, allocations: 39.64 kB / 494.4 MB, free: 3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.4461, allocations: 135.4 kB / 494.5 MB, free: 2.867 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4461, allocations: 0 / 494.5 MB, free: 2.867 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4754, allocations: 8.421 MB / 0.4911 GB, free: 10.56 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.4757, allocations: 205 kB / 0.4913 GB, free: 10.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.661, allocations: 0 / 0.4913 GB, free: 10.36 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat