Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00079/0.0007899, allocations: 98.08 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009539/0.000954, allocations: 192.7 kB / 17.91 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 4 kB / 306.8 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003738/0.1312, allocations: 2.991 MB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1332, allocations: 0.8456 MB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.1334, allocations: 11.94 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.1336, allocations: 51.55 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1339, allocations: 103.2 kB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.1343, allocations: 95.83 kB / 362.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.1348, allocations: 482 kB / 362.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.1351, allocations: 140.6 kB / 363 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.1354, allocations: 163.3 kB / 363.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.1357, allocations: 183.1 kB / 363.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.1358, allocations: 24 kB / 363.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-05/0.1359, allocations: 28 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.136, allocations: 71.62 kB / 363.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1361, allocations: 101.5 kB / 363.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.1365, allocations: 402.8 kB / 364 MB, free: 8.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1365, allocations: 0 / 364 MB, free: 8.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1365, allocations: 0 / 364 MB, free: 8.285 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1365, allocations: 0 / 364 MB, free: 8.285 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001208/0.1377, allocations: 0.6598 MB / 364.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.1378, allocations: 8.031 kB / 364.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.1379, allocations: 78.47 kB / 364.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.1382, allocations: 75.41 kB / 364.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.1387, allocations: 331.1 kB / 365.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.1388, allocations: 29 kB / 365.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.1388, allocations: 43.92 kB / 365.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.1395, allocations: 395.9 kB / 365.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1396, allocations: 7.938 kB / 365.6 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1396, allocations: 16 kB / 365.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.1396, allocations: 8 kB / 365.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.1401, allocations: 259.9 kB / 365.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.1423, allocations: 1.527 MB / 367.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.1427, allocations: 239.5 kB / 367.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.1431, allocations: 173.2 kB / 367.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.1431, allocations: 12.17 kB / 367.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/0.1436, allocations: 230 kB / 368 MB, free: 3.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.1436, allocations: 0 / 368 MB, free: 3.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001559/0.1451, allocations: 0.5927 MB / 368.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.1452, allocations: 106.8 kB / 368.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.1456, allocations: 308.5 kB / 369 MB, free: 2.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.1457, allocations: 33.7 kB / 369.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.1459, allocations: 220.4 kB / 369.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.146, allocations: 102.5 kB / 369.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.1461, allocations: 8 kB / 369.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1462, allocations: 338.8 kB / 369.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.1465, allocations: 92.7 kB / 369.8 MB, free: 2.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1468, allocations: 237.4 kB / 370 MB, free: 1.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.147, allocations: 123.3 kB / 370.2 MB, free: 1.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.147, allocations: 0 / 370.2 MB, free: 1.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006977/0.1477, allocations: 417.5 kB / 370.6 MB, free: 1.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1478, allocations: 7.156 kB / 370.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1478, allocations: 8 kB / 370.6 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/0.1481, allocations: 84.75 kB / 370.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.1483, allocations: 59.91 kB / 370.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.257/0.4054, allocations: 1.802 MB / 372.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.4058, allocations: 35.5 kB / 372.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.4059, allocations: 16.78 kB / 372.6 MB, free: 18.27 MB / 302.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_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.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.0002656/0.4061, allocations: 172.8 kB / 372.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.4062, allocations: 38.25 kB / 372.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.4063, allocations: 42.05 kB / 372.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.4063, allocations: 3.781 kB / 372.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4063, allocations: 1.875 kB / 372.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4063, allocations: 3.656 kB / 372.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007303/0.4071, allocations: 0.5745 MB / 373.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4071, allocations: 5.953 kB / 373.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.4073, allocations: 38.19 kB / 373.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/0.4075, allocations: 77.33 kB / 373.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.4076, allocations: 8.031 kB / 373.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.4093, allocations: 1.794 MB / 375.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4093, allocations: 0.8438 kB / 375.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.4104, allocations: 0.5065 MB / 375.8 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.4106, allocations: 136.4 kB / 376 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.4106, allocations: 5.844 kB / 376 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.4108, allocations: 16.94 kB / 376 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.4109, allocations: 29.39 kB / 376 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.4109, allocations: 12.58 kB / 376 MB, free: 16.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.4112, allocations: 218.5 kB / 376.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4112, allocations: 0 / 376.2 MB, free: 16.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005512/0.4117, allocations: 114.2 kB / 376.4 MB, free: 16.23 MB / 302.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.001288/0.413, allocations: 1.059 MB / 377.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.4139, allocations: 419.1 kB / 377.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4139, allocations: 4.938 kB / 377.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.4143, allocations: 279.8 kB / 378.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4147, allocations: 61.91 kB / 378.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.4181, allocations: 2.16 MB / 380.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.4184, allocations: 0.8083 MB / 381.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.4186, allocations: 33.72 kB / 381.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.4188, allocations: 125.6 kB / 381.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4188, allocations: 192 / 381.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.4424, allocations: 7.529 MB / 388.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.4426, allocations: 268.3 kB / 389.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.607, allocations: 2.188 kB / 389.1 MB, free: 11.13 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat