Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.002736/0.002741, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.258/2.258, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004115, allocations: 8 kB / 327.1 MB, free: 14.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1005, allocations: 47.58 MB / 374.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005003/0.1055, allocations: 2.76 MB / 377.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.108, allocations: 0.8622 MB / 378.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.1084, allocations: 8 kB / 378.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1087, allocations: 43.61 kB / 378.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005836/0.1093, allocations: 139.6 kB / 378.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.1098, allocations: 99.81 kB / 378.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000776/0.1106, allocations: 335.3 kB / 378.9 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.111, allocations: 140.2 kB / 379 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/0.1114, allocations: 155.3 kB / 379.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.1117, allocations: 167.2 kB / 379.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.1118, allocations: 20 kB / 379.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.1119, allocations: 20 kB / 379.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.112, allocations: 75.67 kB / 379.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.1122, allocations: 105.5 kB / 379.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.1128, allocations: 375.2 kB / 379.9 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1128, allocations: 0 / 379.9 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.98e-06/0.1128, allocations: 7.938 kB / 379.9 MB, free: 9.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1128, allocations: 0 / 379.9 MB, free: 9.996 MB / 282.7 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.001713/0.1146, allocations: 0.6481 MB / 380.6 MB, free: 9.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.1146, allocations: 12.03 kB / 380.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.1148, allocations: 74.52 kB / 380.7 MB, free: 9.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1149, allocations: 51.44 kB / 380.7 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.1156, allocations: 327.1 kB / 381 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.1156, allocations: 29 kB / 381.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.1157, allocations: 40 kB / 381.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.1168, allocations: 379.2 kB / 381.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.1169, allocations: 4 kB / 381.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.1169, allocations: 19.98 kB / 381.5 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.117, allocations: 8 kB / 381.5 MB, free: 8.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008979/0.1179, allocations: 266.4 kB / 381.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.1215, allocations: 1.483 MB / 383.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.1223, allocations: 251.4 kB / 383.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.1224, allocations: 4.234 kB / 383.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000665/0.1231, allocations: 229.8 kB / 383.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 3.026e-06/0.1231, allocations: 0 / 383.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002562/0.1257, allocations: 0.581 MB / 384.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.1258, allocations: 81.11 kB / 384.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.1263, allocations: 296.4 kB / 384.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.1264, allocations: 33.7 kB / 384.7 MB, free: 4.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.1267, allocations: 262.8 kB / 385 MB, free: 4.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.1268, allocations: 102.5 kB / 385.1 MB, free: 4.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.1269, allocations: 8 kB / 385.1 MB, free: 4.566 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.127, allocations: 338.8 kB / 385.4 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.1274, allocations: 88.66 kB / 385.5 MB, free: 4.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.1279, allocations: 224.8 kB / 385.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.1283, allocations: 117.5 kB / 385.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1283, allocations: 4 kB / 385.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001245/0.1296, allocations: 402.2 kB / 386.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.1296, allocations: 11.98 kB / 386.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1297, allocations: 4 kB / 386.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/0.1302, allocations: 84.7 kB / 386.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.1307, allocations: 63.91 kB / 386.4 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.1337, allocations: 1.831 MB / 388.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.1342, allocations: 35.73 kB / 388.2 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.1343, allocations: 16 kB / 388.3 MB, free: 1.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0003281/0.1346, allocations: 173.8 kB / 388.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/0.1347, allocations: 35.62 kB / 388.5 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1348, allocations: 39.09 kB / 388.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1349, allocations: 4 kB / 388.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1349, allocations: 0 / 388.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1349, allocations: 0 / 388.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.1355, allocations: 405.2 kB / 388.9 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.1356, allocations: 3.953 kB / 388.9 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.136, allocations: 39.91 kB / 388.9 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/0.1364, allocations: 80.81 kB / 389 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.1364, allocations: 8 kB / 389 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.257/0.3935, allocations: 1.807 MB / 390.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3935, allocations: 0.8125 kB / 390.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.3953, allocations: 0.5052 MB / 391.3 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.3956, allocations: 134.1 kB / 391.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.3957, allocations: 9.422 kB / 391.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.396, allocations: 16.41 kB / 391.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.3961, allocations: 34.36 kB / 391.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.3962, allocations: 15.19 kB / 391.6 MB, free: 19.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003156/0.3965, allocations: 203.3 kB / 391.7 MB, free: 19.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3965, allocations: 0 / 391.7 MB, free: 19.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007742/0.3973, allocations: 116.3 kB / 391.9 MB, free: 19.03 MB / 282.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: 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.001923/0.3992, allocations: 1.046 MB / 392.9 MB, free: 18.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.4005, allocations: 427.7 kB / 393.3 MB, free: 18.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4006, allocations: 0 / 393.3 MB, free: 18.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.4013, allocations: 299.8 kB / 393.6 MB, free: 18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.4019, allocations: 52.23 kB / 393.7 MB, free: 17.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.405, allocations: 3.649 MB / 397.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.4054, allocations: 0.8165 MB / 398.1 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.4057, allocations: 122.4 kB / 398.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4057, allocations: 0 / 398.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.755/3.161, allocations: 7.158 MB / 405.4 MB, free: 12.06 MB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat