Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.001025/0.001025, allocations: 98.25 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.00126/0.00126, allocations: 179.9 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.739/1.739, allocations: 205.4 MB / 224 MB, free: 13.14 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.0006934/0.0006936, allocations: 12 kB / 280.9 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1377, allocations: 47.57 MB / 328.5 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005402/0.1432, allocations: 3.91 MB / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1462, allocations: 1.209 MB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007333/0.1469, allocations: 19.88 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.1475, allocations: 127 kB / 333.7 MB, free: 14.67 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.00146/0.1489, allocations: 310.4 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.1496, allocations: 123.8 kB / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002897/0.1525, allocations: 1.654 MB / 335.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.1542, allocations: 0.6819 MB / 336.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.1558, allocations: 0.4941 MB / 337 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.1579, allocations: 0.7043 MB / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.1583, allocations: 72 kB / 337.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005341/0.1588, allocations: 72 kB / 337.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005582/0.1594, allocations: 358.8 kB / 338.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000655/0.1601, allocations: 293 kB / 338.5 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.1619, allocations: 1.761 MB / 340.2 MB, free: 8.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.162, allocations: 4 kB / 340.2 MB, free: 8.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.162, allocations: 4 kB / 340.2 MB, free: 8.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.813e-05/0.162, allocations: 0 / 340.2 MB, free: 8.121 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002848/0.1649, allocations: 1.529 MB / 341.8 MB, free: 6.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.1649, allocations: 8.031 kB / 341.8 MB, free: 6.531 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.1652, allocations: 168.6 kB / 341.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.1654, allocations: 150.2 kB / 342.1 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1667, allocations: 0.8871 MB / 343 MB, free: 5.273 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.1668, allocations: 81.98 kB / 343.1 MB, free: 5.191 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.1669, allocations: 104 kB / 343.2 MB, free: 5.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.1695, allocations: 1.541 MB / 344.7 MB, free: 3.492 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.1696, allocations: 4 kB / 344.7 MB, free: 3.488 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.1697, allocations: 47.92 kB / 344.7 MB, free: 3.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/0.1697, allocations: 50.02 kB / 344.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.1721, allocations: 1.437 MB / 346.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007721/0.1799, allocations: 4.973 MB / 351.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.1818, allocations: 1.46 MB / 352.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.1831, allocations: 0.7428 MB / 353.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-05/0.1832, allocations: 8.5 kB / 353.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.1842, allocations: 0.6317 MB / 354 MB, free: 9.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.556e-06/0.1842, allocations: 0 / 354 MB, free: 9.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005659/0.1899, allocations: 2.431 MB / 356.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/0.19, allocations: 89.75 kB / 356.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.192, allocations: 0.9227 MB / 357.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/0.1921, allocations: 41.7 kB / 357.5 MB, free: 6.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/0.1927, allocations: 0.523 MB / 358 MB, free: 5.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.1929, allocations: 236.6 kB / 358.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.193, allocations: 12 kB / 358.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1931, allocations: 333.9 kB / 358.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007059/0.1939, allocations: 425.7 kB / 359 MB, free: 4.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.1947, allocations: 0.5642 MB / 359.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/0.1955, allocations: 449.9 kB / 360 MB, free: 3.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.1955, allocations: 11.95 kB / 360 MB, free: 3.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00238/0.1979, allocations: 1.3 MB / 361.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.198, allocations: 12.03 kB / 361.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.198, allocations: 4 kB / 361.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009484/0.1989, allocations: 406.4 kB / 361.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.1994, allocations: 115.9 kB / 361.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005345/0.2048, allocations: 4.122 MB / 366 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/0.2056, allocations: 83.45 kB / 366.1 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/0.2057, allocations: 31.98 kB / 366.1 MB, free: 13.46 MB / 318.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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0009091/0.2066, allocations: 0.4952 MB / 366.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.2068, allocations: 90.88 kB / 366.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.2072, allocations: 116.5 kB / 366.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.2072, allocations: 11.98 kB / 366.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.2072, allocations: 0 / 366.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.2072, allocations: 0 / 366.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.2116, allocations: 2.624 MB / 369.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.2117, allocations: 0 / 369.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.2121, allocations: 95.81 kB / 369.5 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008327/0.213, allocations: 389.2 kB / 369.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.213, allocations: 12 kB / 369.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.2182, allocations: 4.084 MB / 374 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2182, allocations: 0 / 374 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.2214, allocations: 1.993 MB / 376 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/0.222, allocations: 283.8 kB / 376.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.2222, allocations: 20 kB / 376.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.2228, allocations: 47.89 kB / 376.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.223, allocations: 80.62 kB / 376.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.2231, allocations: 23.97 kB / 376.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.2243, allocations: 0.6668 MB / 377.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2243, allocations: 0 / 377.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00126/0.2256, allocations: 350.9 kB / 377.5 MB, free: 1.852 MB / 318.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.2326/0.4581, allocations: 2.547 MB / 380 MB, free: 52.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003499/0.4617, allocations: 1.287 MB / 381.3 MB, free: 52.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.4618, allocations: 1.594 kB / 381.3 MB, free: 52.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.4633, allocations: 0.8145 MB / 382.1 MB, free: 52.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.4648, allocations: 246.3 kB / 382.4 MB, free: 52.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.4797, allocations: 7.886 MB / 390.2 MB, free: 48.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.4808, allocations: 1.379 MB / 391.6 MB, free: 48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006289/0.4814, allocations: 173.6 kB / 391.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.4818, allocations: 407.8 kB / 392.2 MB, free: 47.67 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4819, allocations: 0 / 392.2 MB, free: 47.67 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/0.5292, allocations: 25.93 MB / 418.1 MB, free: 25.23 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.5295, allocations: 272 kB / 418.4 MB, free: 24.87 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.913, allocations: 4 kB / 418.4 MB, free: 24.86 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat