Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 100.7 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001858/0.001858, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003035, allocations: 4 kB / 306.8 MB, free: 1.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 51.49 MB / 358.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004612/0.1159, allocations: 4.133 MB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1184, allocations: 1.282 MB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.1188, allocations: 23.88 kB / 363.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.1194, allocations: 166.9 kB / 363.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007394/0.1201, allocations: 314.3 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1205, allocations: 127.8 kB / 364.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1222, allocations: 1.6 MB / 366 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009757/0.1232, allocations: 0.7097 MB / 366.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009121/0.1241, allocations: 486 kB / 367.1 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008408/0.1249, allocations: 0.6069 MB / 367.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1251, allocations: 67.98 kB / 367.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1253, allocations: 76 kB / 367.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.1256, allocations: 314.9 kB / 368.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.1259, allocations: 281.1 kB / 368.5 MB, free: 3.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.1274, allocations: 1.652 MB / 370.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1274, allocations: 0 / 370.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1274, allocations: 4 kB / 370.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.1275, allocations: 0 / 370.1 MB, free: 1.871 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002527/0.13, allocations: 1.447 MB / 371.6 MB, free: 380 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1301, allocations: 8.031 kB / 371.6 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002176/0.1303, allocations: 152.2 kB / 371.7 MB, free: 212 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000469/0.1308, allocations: 186.3 kB / 371.9 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2769/0.4077, allocations: 0.8689 MB / 372.8 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.4079, allocations: 77.84 kB / 372.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.4082, allocations: 97.38 kB / 372.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.4118, allocations: 1.441 MB / 374.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.4119, allocations: 1.125 kB / 374.4 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.412, allocations: 42.34 kB / 374.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.111e-05/0.4121, allocations: 45.98 kB / 374.5 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.4156, allocations: 1.298 MB / 375.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007816/0.4235, allocations: 4.378 MB / 380.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.4256, allocations: 1.967 MB / 382.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.4268, allocations: 0.626 MB / 382.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.4269, allocations: 14.2 kB / 382.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.428, allocations: 0.5992 MB / 383.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.407e-06/0.4281, allocations: 3.609 kB / 383.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.00805/0.4361, allocations: 2.718 MB / 386.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.4362, allocations: 119.8 kB / 386.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.4377, allocations: 0.8235 MB / 387 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.4378, allocations: 42.8 kB / 387.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.4382, allocations: 494.3 kB / 387.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.4384, allocations: 241.3 kB / 387.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.4384, allocations: 14.53 kB / 387.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.4385, allocations: 334.4 kB / 388.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.4391, allocations: 401.7 kB / 388.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.4399, allocations: 0.551 MB / 389.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/0.4406, allocations: 446.8 kB / 389.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4406, allocations: 0.9375 kB / 389.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002217/0.4428, allocations: 1.323 MB / 390.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4428, allocations: 6.469 kB / 390.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.4429, allocations: 4.219 kB / 390.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.444, allocations: 476.6 kB / 391.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.4444, allocations: 93.2 kB / 391.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007266/0.4516, allocations: 5.122 MB / 396.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/0.4526, allocations: 80.78 kB / 396.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.4526, allocations: 31.86 kB / 396.6 MB, free: 5.477 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 ($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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0009045/0.4536, allocations: 469.3 kB / 397.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.4537, allocations: 84.97 kB / 397.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.454, allocations: 111.8 kB / 397.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.454, allocations: 11.48 kB / 397.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.454, allocations: 0 / 397.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.454, allocations: 5.672 kB / 397.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.4578, allocations: 2.626 MB / 399.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4578, allocations: 0 / 399.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.4581, allocations: 71.89 kB / 400 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008281/0.4589, allocations: 464.9 kB / 400.4 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.459, allocations: 16 kB / 400.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006127/0.4651, allocations: 5.067 MB / 405.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4652, allocations: 0 / 405.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.4685, allocations: 1.925 MB / 407.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.4692, allocations: 271.9 kB / 407.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.4693, allocations: 15.98 kB / 407.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.4697, allocations: 47.95 kB / 407.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.47, allocations: 76.5 kB / 407.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.47, allocations: 20 kB / 407.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008573/0.4709, allocations: 0.5926 MB / 408.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4709, allocations: 0 / 408.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00124/0.4722, allocations: 343.1 kB / 408.8 MB, free: 10.24 MB / 318.1 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.003744/0.4759, allocations: 2.501 MB / 411.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.4785, allocations: 1.288 MB / 412.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.4785, allocations: 0 / 412.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.4799, allocations: 0.8251 MB / 413.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.4813, allocations: 275 kB / 413.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.4941, allocations: 7.162 MB / 420.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.4953, allocations: 1.33 MB / 422.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006195/0.4959, allocations: 143.4 kB / 422.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.4964, allocations: 383.3 kB / 422.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4964, allocations: 0 / 422.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05743/0.5539, allocations: 26.63 MB / 449.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.5542, allocations: 266.3 kB / 449.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.226, allocations: 3.938 kB / 449.6 MB, free: 1.52 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat