Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.0009531, allocations: 96.12 kB / 16.95 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 185.9 kB / 17.84 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 224 MB, free: 13.09 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004593, allocations: 12 kB / 280.9 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 47.58 MB / 328.5 MB, free: 3.957 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003851/0.1173, allocations: 2.908 MB / 331.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.119, allocations: 0.8465 MB / 332.2 MB, free: 180 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.1192, allocations: 11.94 kB / 332.2 MB, free: 168 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.1194, allocations: 39.62 kB / 332.3 MB, free: 128 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1197, allocations: 103.2 kB / 332.4 MB, free: 24 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.12, allocations: 91.98 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.1205, allocations: 469.9 kB / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.1208, allocations: 136.4 kB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.121, allocations: 155.3 kB / 333.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.1212, allocations: 175.2 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.1213, allocations: 20 kB / 333.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.1214, allocations: 20 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.1214, allocations: 75.61 kB / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.1216, allocations: 105.5 kB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1219, allocations: 386.9 kB / 334 MB, free: 14.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1219, allocations: 0 / 334 MB, free: 14.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1219, allocations: 0 / 334 MB, free: 14.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1219, allocations: 0 / 334 MB, free: 14.4 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001106/0.123, allocations: 0.6481 MB / 334.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1231, allocations: 8.031 kB / 334.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.391e-05/0.1232, allocations: 70.53 kB / 334.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.1233, allocations: 51.44 kB / 334.7 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.1238, allocations: 323.1 kB / 335.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.1238, allocations: 32.98 kB / 335.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.1239, allocations: 36 kB / 335.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006952/0.1246, allocations: 383.2 kB / 335.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1246, allocations: 4 kB / 335.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.1246, allocations: 16 kB / 335.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1247, allocations: 8 kB / 335.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.1252, allocations: 262.4 kB / 335.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1275, allocations: 1.483 MB / 337.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.1279, allocations: 247.4 kB / 337.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.1283, allocations: 177.3 kB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.1284, allocations: 4.219 kB / 337.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.1288, allocations: 245.9 kB / 337.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.442e-06/0.1288, allocations: 0 / 337.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001555/0.1304, allocations: 0.5927 MB / 338.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.1305, allocations: 110.8 kB / 338.6 MB, free: 9.449 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.1309, allocations: 296.4 kB / 338.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.1309, allocations: 33.7 kB / 339 MB, free: 9.117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1311, allocations: 208.4 kB / 339.2 MB, free: 8.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.1312, allocations: 106.5 kB / 339.3 MB, free: 8.805 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.1312, allocations: 8 kB / 339.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1314, allocations: 342.8 kB / 339.6 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.1316, allocations: 92.7 kB / 339.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.1319, allocations: 221.7 kB / 339.9 MB, free: 8.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1321, allocations: 120 kB / 340 MB, free: 7.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1321, allocations: 0 / 340 MB, free: 7.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006938/0.1328, allocations: 421.7 kB / 340.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1329, allocations: 8 kB / 340.4 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1329, allocations: 4 kB / 340.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.1332, allocations: 81.12 kB / 340.5 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1335, allocations: 63.84 kB / 340.6 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.1355, allocations: 1.803 MB / 342.4 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.1357, allocations: 39.69 kB / 342.4 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.1358, allocations: 16 kB / 342.5 MB, free: 5.395 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.136, allocations: 178.7 kB / 342.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.1361, allocations: 31.62 kB / 342.7 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.1361, allocations: 39.09 kB / 342.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1362, allocations: 4 kB / 342.7 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1362, allocations: 0 / 342.7 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.1362, allocations: 4.172 kB / 342.7 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.1369, allocations: 0.5614 MB / 343.3 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1369, allocations: 7.969 kB / 343.3 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.1371, allocations: 35.92 kB / 343.3 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.1374, allocations: 76.8 kB / 343.4 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.1374, allocations: 8 kB / 343.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.1392, allocations: 1.792 MB / 345.2 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1393, allocations: 8.094 kB / 345.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.1401, allocations: 0.4949 MB / 345.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1403, allocations: 136.8 kB / 345.8 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.1403, allocations: 8 kB / 345.8 MB, free: 1.773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1405, allocations: 23.97 kB / 345.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.1406, allocations: 27.92 kB / 345.9 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1406, allocations: 11.98 kB / 345.9 MB, free: 1.711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.1408, allocations: 207.1 kB / 346.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1409, allocations: 0 / 346.1 MB, free: 1.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.1414, allocations: 111.7 kB / 346.2 MB, free: 1.402 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.1426, allocations: 1.067 MB / 347.3 MB, free: 308 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007715/0.1434, allocations: 427.3 kB / 347.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1434, allocations: 0 / 347.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.1439, allocations: 286.5 kB / 348 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1442, allocations: 52.75 kB / 348 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.1477, allocations: 2.114 MB / 350.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1482, allocations: 0.8029 MB / 350.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.1483, allocations: 39.14 kB / 351 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.1485, allocations: 119.4 kB / 351.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1485, allocations: 0 / 351.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.1757, allocations: 7.342 MB / 358.4 MB, free: 4.969 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003033/0.1761, allocations: 278.1 kB / 358.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.299, allocations: 3.938 kB / 358.7 MB, free: 4.598 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat