Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001005/0.001005, allocations: 194.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008556/0.0008556, allocations: 99.02 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.58e-05, allocations: 4 kB / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09738, allocations: 51.47 MB / 395.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4303, allocations: 82.2 MB / 477.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.4306, allocations: 84.59 kB / 477.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.4481, allocations: 7.387 MB / 484.9 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4482, allocations: 0 / 484.9 MB, free: 4.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.4482, allocations: 12 kB / 485 MB, free: 4.629 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.0008784/0.4491, allocations: 0.66 MB / 485.6 MB, free: 3.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4492, allocations: 12.03 kB / 485.6 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.4494, allocations: 70.7 kB / 485.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.4499, allocations: 368.6 kB / 486.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.4499, allocations: 12 kB / 486.1 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.45, allocations: 27.61 kB / 486.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004768/0.4504, allocations: 284.5 kB / 486.4 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.451, allocations: 377.3 kB / 486.7 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.451, allocations: 0 / 486.7 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.4511, allocations: 15.36 kB / 486.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.4511, allocations: 11.94 kB / 486.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.4531, allocations: 1.778 MB / 488.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.4537, allocations: 0.5792 MB / 489.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.454, allocations: 216.7 kB / 489.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.454, allocations: 8.312 kB / 489.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003707/0.4544, allocations: 242.1 kB / 489.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/0.4544, allocations: 0 / 489.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008105/0.4552, allocations: 421.8 kB / 490 MB, free: 328 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4553, allocations: 88.97 kB / 490.1 MB, free: 224 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4555, allocations: 257.2 kB / 490.3 MB, free: 8 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.4556, allocations: 29.69 kB / 490.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.4558, allocations: 222.7 kB / 490.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.4559, allocations: 124.3 kB / 490.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.855e-05/0.4559, allocations: 7.5 kB / 490.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.456, allocations: 349.6 kB / 491.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.4562, allocations: 99.25 kB / 491.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.4565, allocations: 225.7 kB / 491.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.4567, allocations: 125.2 kB / 491.5 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4567, allocations: 0 / 491.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006598/0.4573, allocations: 448.2 kB / 491.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4574, allocations: 8 kB / 491.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4574, allocations: 7.984 kB / 491.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.4578, allocations: 138.1 kB / 492.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.4581, allocations: 75.95 kB / 492.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.4606, allocations: 2.209 MB / 494.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.4609, allocations: 31.69 kB / 494.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.4609, allocations: 15.44 kB / 494.4 MB, free: 12.53 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.0001385/0.461, allocations: 127.8 kB / 494.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007215/0.4618, allocations: 410.6 kB / 494.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.4618, allocations: 43.59 kB / 495 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.4619, allocations: 44.44 kB / 495 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4619, allocations: 5.125 kB / 495 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.462, allocations: 4 kB / 495 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.462, allocations: 0 / 495 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.4631, allocations: 0.8962 MB / 495.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4631, allocations: 4 kB / 495.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.4633, allocations: 39.91 kB / 496 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003595/0.4637, allocations: 143.7 kB / 496.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.4637, allocations: 0 / 496.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.4659, allocations: 2.216 MB / 498.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4659, allocations: 0 / 498.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.4667, allocations: 0.6365 MB / 499 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4669, allocations: 151.7 kB / 499.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.4669, allocations: 5.719 kB / 499.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.4672, allocations: 15.92 kB / 499.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.4672, allocations: 34.97 kB / 499.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.4673, allocations: 19.42 kB / 499.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.4675, allocations: 190.3 kB / 499.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4676, allocations: 0 / 499.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005999/0.4682, allocations: 139.6 kB / 499.5 MB, free: 8.293 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.00115/0.4693, allocations: 1.191 MB / 0.489 GB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007552/0.4701, allocations: 498.3 kB / 0.4894 GB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4701, allocations: 0 / 0.4894 GB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.4705, allocations: 340.4 kB / 0.4898 GB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4709, allocations: 58.95 kB / 0.4898 GB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.4723, allocations: 0.6564 MB / 0.4905 GB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.4726, allocations: 0.8543 MB / 0.4913 GB, free: 5.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.4727, allocations: 31.28 kB / 0.4913 GB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4729, allocations: 143.5 kB / 0.4915 GB, free: 5.023 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4729, allocations: 0 / 0.4915 GB, free: 5.023 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.4984, allocations: 8.573 MB / 0.4998 GB, free: 12.63 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.4986, allocations: 183.5 kB / 0.5 GB, free: 12.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.588, allocations: 5.906 kB / 0.5 GB, free: 12.44 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat