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.001083/0.001083, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002481, allocations: 4 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1244, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004562/0.129, allocations: 3.884 MB / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1316, allocations: 1.329 MB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.1321, allocations: 19.88 kB / 363.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.1327, allocations: 175 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000745/0.1334, allocations: 307.1 kB / 363.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1338, allocations: 139.7 kB / 364.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.1348, allocations: 0.9238 MB / 365 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.1357, allocations: 0.7058 MB / 365.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.1363, allocations: 450.3 kB / 366.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.1369, allocations: 0.5252 MB / 366.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.137, allocations: 64 kB / 366.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1372, allocations: 68 kB / 366.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.1375, allocations: 303 kB / 367.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.1377, allocations: 281 kB / 367.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.1391, allocations: 1.648 MB / 369 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1391, allocations: 0 / 369 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1391, allocations: 0 / 369 MB, free: 2.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.1391, allocations: 0 / 369 MB, free: 2.93 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.00257/0.1417, allocations: 1.443 MB / 370.4 MB, free: 1.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1418, allocations: 8.031 kB / 370.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.142, allocations: 156.2 kB / 370.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.1425, allocations: 178.3 kB / 370.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.1439, allocations: 0.887 MB / 371.7 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.144, allocations: 74 kB / 371.7 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2289/0.3729, allocations: 96.58 kB / 371.8 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.3771, allocations: 1.43 MB / 373.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.3772, allocations: 1.656 kB / 373.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.3773, allocations: 40.84 kB / 373.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.39e-05/0.3774, allocations: 42.55 kB / 373.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/0.3809, allocations: 1.303 MB / 374.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009352/0.3903, allocations: 4.382 MB / 379 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.3926, allocations: 1.976 MB / 381 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.806e-05/0.3927, allocations: 7.719 kB / 381 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.3939, allocations: 0.593 MB / 381.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 6.152e-06/0.3939, allocations: 0 / 381.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.008214/0.4022, allocations: 2.753 MB / 384.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4023, allocations: 118.9 kB / 384.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.404, allocations: 0.8283 MB / 385.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/0.4041, allocations: 46.55 kB / 385.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.4046, allocations: 488.2 kB / 385.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.4049, allocations: 248.9 kB / 386.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.4049, allocations: 14.22 kB / 386.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.405, allocations: 341.9 kB / 386.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.4057, allocations: 398.2 kB / 386.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/0.4065, allocations: 0.5482 MB / 387.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/0.4072, allocations: 441.6 kB / 387.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4072, allocations: 1.156 kB / 387.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002296/0.4095, allocations: 1.318 MB / 389.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.4096, allocations: 7.312 kB / 389.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4096, allocations: 3.156 kB / 389.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.4107, allocations: 472.8 kB / 389.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.4111, allocations: 91.7 kB / 389.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007271/0.4184, allocations: 5.294 MB / 395 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/0.4194, allocations: 92.27 kB / 395 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.4195, allocations: 27.34 kB / 395.1 MB, free: 6.328 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.001001/0.4205, allocations: 460.2 kB / 395.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.4207, allocations: 90.56 kB / 395.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.4209, allocations: 112 kB / 395.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.421, allocations: 11.47 kB / 395.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.421, allocations: 0 / 395.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.421, allocations: 4.984 kB / 395.7 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/0.4254, allocations: 2.631 MB / 398.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4254, allocations: 0 / 398.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.4257, allocations: 64.41 kB / 398.4 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008827/0.4266, allocations: 465.8 kB / 398.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.4267, allocations: 15.92 kB / 398.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005659/0.4323, allocations: 5.247 MB / 404.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4324, allocations: 0 / 404.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.4353, allocations: 1.922 MB / 406.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.4359, allocations: 279.8 kB / 406.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.436, allocations: 15.98 kB / 406.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.4364, allocations: 43.95 kB / 406.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.4367, allocations: 68.55 kB / 406.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.4367, allocations: 20 kB / 406.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008345/0.4376, allocations: 0.5966 MB / 407.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4376, allocations: 0 / 407.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00114/0.4387, allocations: 339 kB / 407.4 MB, free: 11.59 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.003128/0.4419, allocations: 2.505 MB / 409.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.4442, allocations: 1.276 MB / 411.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4443, allocations: 0.875 kB / 411.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.4457, allocations: 0.8253 MB / 412 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.4469, allocations: 253.2 kB / 412.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.4533, allocations: 5.83 MB / 418.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.4545, allocations: 1.353 MB / 419.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005108/0.455, allocations: 143.4 kB / 419.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.4556, allocations: 387.3 kB / 420 MB, free: 14.84 MB / 334.1 MB Notification: Performance of SimCode: time 1.452e-06/0.4556, allocations: 0 / 420 MB, free: 14.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05084/0.5064, allocations: 26.24 MB / 446.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.5067, allocations: 258.8 kB / 446.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/2.972, allocations: 0 / 446.5 MB, free: 4.656 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