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/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.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/ModelicaServices trunk/package.mo): time 0.0009688/0.000969, allocations: 99.19 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.0009952/0.0009953, allocations: 201 kB / 17.89 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002368, allocations: 8 kB / 306.7 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 51.5 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004018/0.1425, allocations: 3.046 MB / 361.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1445, allocations: 0.9551 MB / 362.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.145, allocations: 7.938 kB / 362.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1452, allocations: 51.59 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.1459, allocations: 171.5 kB / 362.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.1463, allocations: 111.8 kB / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007824/0.1471, allocations: 411.1 kB / 363 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.1475, allocations: 161.7 kB / 363.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.1479, allocations: 191.2 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1482, allocations: 203.1 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.1483, allocations: 24 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.1483, allocations: 28 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.1484, allocations: 79.66 kB / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1486, allocations: 125.4 kB / 363.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.149, allocations: 474.6 kB / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.149, allocations: 0 / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1491, allocations: 0 / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.691e-05/0.1491, allocations: 0 / 364.2 MB, free: 7.711 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001352/0.1504, allocations: 0.7104 MB / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1505, allocations: 8.031 kB / 364.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.1507, allocations: 78.53 kB / 365 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.1509, allocations: 67.33 kB / 365.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.1514, allocations: 359.7 kB / 365.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.1514, allocations: 33 kB / 365.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.1515, allocations: 43.95 kB / 365.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.1523, allocations: 453.5 kB / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1523, allocations: 4 kB / 365.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.1523, allocations: 23.98 kB / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1523, allocations: 8 kB / 366 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.1529, allocations: 327.7 kB / 366.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.1553, allocations: 1.887 MB / 368.2 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.1561, allocations: 0.6134 MB / 368.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1561, allocations: 8.266 kB / 368.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.1566, allocations: 269.2 kB / 369.1 MB, free: 2.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.1566, allocations: 0 / 369.1 MB, free: 2.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002217/0.1588, allocations: 0.8471 MB / 369.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.1589, allocations: 89.11 kB / 370 MB, free: 1.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.1592, allocations: 320.5 kB / 370.3 MB, free: 1.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.1593, allocations: 37.69 kB / 370.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1595, allocations: 216.4 kB / 370.6 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.1596, allocations: 138 kB / 370.7 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.1596, allocations: 12 kB / 370.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1598, allocations: 346.8 kB / 371.1 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.16, allocations: 121 kB / 371.2 MB, free: 388 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.1603, allocations: 257 kB / 371.4 MB, free: 76 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2228/0.3831, allocations: 140.7 kB / 371.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.3831, allocations: 1.281 kB / 371.6 MB, free: 19.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00126/0.3844, allocations: 0.5199 MB / 372.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3845, allocations: 7 kB / 372.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3845, allocations: 4.156 kB / 372.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/0.385, allocations: 150.2 kB / 372.2 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.3853, allocations: 64.59 kB / 372.3 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.388, allocations: 2.338 MB / 374.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.3884, allocations: 50.05 kB / 374.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.3884, allocations: 19.14 kB / 374.7 MB, free: 17.75 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0002412/0.3886, allocations: 175 kB / 374.9 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3887, allocations: 37.97 kB / 374.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/0.3888, allocations: 50.17 kB / 375 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3888, allocations: 5.359 kB / 375 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3888, allocations: 0 / 375 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.3889, allocations: 7.219 kB / 375 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.3904, allocations: 1.013 MB / 376 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3904, allocations: 1.969 kB / 376 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.3906, allocations: 38.22 kB / 376 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004122/0.391, allocations: 152.4 kB / 376.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.391, allocations: 12.67 kB / 376.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.3934, allocations: 2.333 MB / 378.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3934, allocations: 0 / 378.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.3945, allocations: 0.7081 MB / 379.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.3947, allocations: 149.6 kB / 379.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.3948, allocations: 14.34 kB / 379.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.395, allocations: 13.22 kB / 379.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3951, allocations: 33.95 kB / 379.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.3951, allocations: 18.67 kB / 379.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.3954, allocations: 223.3 kB / 379.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3954, allocations: 1.719 kB / 379.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006968/0.3961, allocations: 149.6 kB / 379.8 MB, free: 14.54 MB / 302.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: 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) * Number of clocked states: 0 () * 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.001278/0.3974, allocations: 1.269 MB / 381.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3984, allocations: 0.541 MB / 381.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3984, allocations: 0 / 381.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.399, allocations: 378.4 kB / 382 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.3994, allocations: 78.41 kB / 382.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.4018, allocations: 3.831 MB / 385.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.4022, allocations: 0.8478 MB / 386.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.4023, allocations: 38.3 kB / 386.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.4025, allocations: 143.2 kB / 386.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4025, allocations: 1.344 kB / 386.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.4288, allocations: 9.54 MB / 396.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.429, allocations: 262.9 kB / 396.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.421, allocations: 0 / 396.7 MB, free: 5.664 MB / 302.1 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