Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",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.001128/0.001128, allocations: 94.14 kB / 16.95 MB, free: 6.113 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.001772/0.001772, allocations: 175.3 kB / 17.84 MB, free: 5.73 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.762/1.762, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004682/0.0004682, allocations: 15.98 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 47.58 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004093/0.111, allocations: 3.115 MB / 331.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1131, allocations: 1.003 MB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.1135, allocations: 11.94 kB / 332.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1138, allocations: 83.39 kB / 332.7 MB, free: 15.73 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.0008014/0.1147, allocations: 191 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.115, allocations: 95.83 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.116, allocations: 0.969 MB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.1166, allocations: 396.6 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.1172, allocations: 306.8 kB / 334.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.1179, allocations: 410.3 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.1181, allocations: 44 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1182, allocations: 40 kB / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.1185, allocations: 215.3 kB / 335.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.1187, allocations: 185.3 kB / 335.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008565/0.1196, allocations: 0.9936 MB / 336.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1196, allocations: 0 / 336.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1196, allocations: 0 / 336.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.957e-05/0.1196, allocations: 4 kB / 336.5 MB, free: 11.9 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00194/0.1216, allocations: 1.014 MB / 337.5 MB, free: 10.83 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1216, allocations: 12.03 kB / 337.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.1218, allocations: 114.5 kB / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.122, allocations: 90.88 kB / 337.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000848/0.1229, allocations: 0.572 MB / 338.3 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.1229, allocations: 49.31 kB / 338.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.123, allocations: 64 kB / 338.4 MB, free: 9.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1245, allocations: 0.9149 MB / 339.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1246, allocations: 0 / 339.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.1246, allocations: 28 kB / 339.3 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.1247, allocations: 29.3 kB / 339.4 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.1261, allocations: 0.7975 MB / 340.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003987/0.1301, allocations: 2.799 MB / 343 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009465/0.131, allocations: 0.7534 MB / 343.7 MB, free: 4.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.1316, allocations: 353.3 kB / 344.1 MB, free: 4.016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.1317, allocations: 8.328 kB / 344.1 MB, free: 4.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006059/0.1323, allocations: 385.7 kB / 344.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.1323, allocations: 3.938 kB / 344.4 MB, free: 3.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002563/0.1349, allocations: 1.208 MB / 345.7 MB, free: 2.367 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.135, allocations: 106.8 kB / 345.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/0.1357, allocations: 0.5643 MB / 346.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.1357, allocations: 33.7 kB / 346.4 MB, free: 1.625 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.136, allocations: 352 kB / 346.7 MB, free: 1.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1362, allocations: 134.1 kB / 346.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.1362, allocations: 12 kB / 346.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1364, allocations: 370.7 kB / 347.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.1368, allocations: 228.9 kB / 347.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.1373, allocations: 365.7 kB / 347.8 MB, free: 124 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.1377, allocations: 251.7 kB / 348 MB, free: 15.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.1377, allocations: 0 / 348 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001394/0.1391, allocations: 0.7588 MB / 348.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.1392, allocations: 4 kB / 348.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.1392, allocations: 7.953 kB / 348.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.1398, allocations: 213 kB / 349 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.1402, allocations: 79.89 kB / 349.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.1433, allocations: 2.674 MB / 351.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.1437, allocations: 51.66 kB / 351.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.1437, allocations: 20 kB / 351.8 MB, free: 11.92 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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005732/0.1443, allocations: 329.7 kB / 352.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.1444, allocations: 59.34 kB / 352.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.1446, allocations: 61.28 kB / 352.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1446, allocations: 15.98 kB / 352.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1447, allocations: 0 / 352.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1447, allocations: 0 / 352.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.1472, allocations: 1.633 MB / 353.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1473, allocations: 0 / 353.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.1475, allocations: 55.91 kB / 354 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/0.148, allocations: 196.7 kB / 354.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.148, allocations: 11.95 kB / 354.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/0.1511, allocations: 2.655 MB / 356.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1511, allocations: 0 / 356.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.1528, allocations: 1.114 MB / 357.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.1531, allocations: 188.4 kB / 358.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.1532, allocations: 12 kB / 358.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.1535, allocations: 27.97 kB / 358.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.1537, allocations: 43.94 kB / 358.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.1537, allocations: 15.98 kB / 358.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005202/0.1542, allocations: 414.8 kB / 358.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1542, allocations: 0 / 358.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000786/0.155, allocations: 203.3 kB / 358.8 MB, free: 4.672 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/0.157, allocations: 1.675 MB / 360.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.1583, allocations: 0.7324 MB / 361.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1584, allocations: 0 / 361.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.1591, allocations: 479.2 kB / 361.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/0.1598, allocations: 141.8 kB / 361.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007517/0.1673, allocations: 4.511 MB / 366.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.1681, allocations: 1.07 MB / 367.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.1684, allocations: 92.72 kB / 367.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.1688, allocations: 239.4 kB / 367.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1688, allocations: 3.938 kB / 367.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2107/0.3795, allocations: 14.82 MB / 382.6 MB, free: 51.77 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.3797, allocations: 267.4 kB / 382.8 MB, free: 51.42 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.62, allocations: 0 / 382.8 MB, free: 51.42 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat