Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.002345/0.002345, allocations: 182.2 kB / 16.4 MB, free: 5.75 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.323/2.323, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001266/0.001265, allocations: 82.94 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003947, allocations: 8 kB / 327.1 MB, free: 76 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006019/0.3419, allocations: 3.681 MB / 378.3 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.3455, allocations: 1.246 MB / 379.6 MB, free: 41.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008527/0.3464, allocations: 19.34 kB / 379.6 MB, free: 41.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006429/0.3471, allocations: 137.8 kB / 379.7 MB, free: 41.42 MB / 298.7 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.001827/0.3489, allocations: 299.3 kB / 380 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.3498, allocations: 129.5 kB / 380.1 MB, free: 41.07 MB / 298.7 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 NFFlatten.flatten: time 0.00224/0.3521, allocations: 0.9746 MB / 381.1 MB, free: 40.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.3535, allocations: 0.6769 MB / 381.8 MB, free: 40.11 MB / 298.7 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 NFEvalConstants.evaluate: time 0.001176/0.3547, allocations: 476.2 kB / 382.3 MB, free: 39.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.3563, allocations: 0.6033 MB / 382.9 MB, free: 39.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003819/0.3568, allocations: 74.84 kB / 382.9 MB, free: 39.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000582/0.3574, allocations: 72.66 kB / 383 MB, free: 39.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.3578, allocations: 343.7 kB / 383.3 MB, free: 39.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005495/0.3584, allocations: 292.5 kB / 383.6 MB, free: 39.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.3609, allocations: 1.763 MB / 385.4 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.361, allocations: 0 / 385.4 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.361, allocations: 0 / 385.4 MB, free: 37.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.282e-05/0.3611, allocations: 0 / 385.4 MB, free: 37.77 MB / 298.7 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.005115/0.3662, allocations: 1.535 MB / 386.9 MB, free: 36.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3663, allocations: 8.031 kB / 386.9 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005769/0.3669, allocations: 164.5 kB / 387.1 MB, free: 36.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004563/0.3674, allocations: 150.2 kB / 387.2 MB, free: 36.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.3697, allocations: 0.8949 MB / 388.1 MB, free: 35.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.3698, allocations: 81.98 kB / 388.2 MB, free: 35.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.3701, allocations: 100 kB / 388.3 MB, free: 34.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004385/0.3745, allocations: 1.541 MB / 389.9 MB, free: 33.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.3746, allocations: 0 / 389.9 MB, free: 33.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.3748, allocations: 47.94 kB / 389.9 MB, free: 33.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.607e-05/0.3749, allocations: 38.03 kB / 389.9 MB, free: 33.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004413/0.3793, allocations: 1.448 MB / 391.4 MB, free: 31.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.3914, allocations: 4.97 MB / 396.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.394, allocations: 1.467 MB / 397.8 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.26e-05/0.3942, allocations: 8.562 kB / 397.8 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.3957, allocations: 0.6278 MB / 398.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 4.949e-06/0.3958, allocations: 0 / 398.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.009901/0.4057, allocations: 2.416 MB / 400.9 MB, free: 22.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.4058, allocations: 89.77 kB / 401 MB, free: 21.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.4076, allocations: 0.9265 MB / 401.9 MB, free: 20.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.4078, allocations: 37.7 kB / 401.9 MB, free: 20.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.4083, allocations: 0.5216 MB / 402.5 MB, free: 20.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.4086, allocations: 240.6 kB / 402.7 MB, free: 20.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.4087, allocations: 16 kB / 402.7 MB, free: 20.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.4088, allocations: 338.8 kB / 403 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.4099, allocations: 417.7 kB / 403.4 MB, free: 19.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.4111, allocations: 0.5563 MB / 404 MB, free: 18.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.4124, allocations: 461.9 kB / 404.4 MB, free: 18.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.4124, allocations: 0 / 404.4 MB, free: 18.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003293/0.4157, allocations: 1.242 MB / 405.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.4158, allocations: 4 kB / 405.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.4158, allocations: 4 kB / 405.7 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.4173, allocations: 398.4 kB / 406.1 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/0.4183, allocations: 123.8 kB / 406.2 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/0.4264, allocations: 4.255 MB / 410.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.4276, allocations: 87.45 kB / 410.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4277, allocations: 31.98 kB / 410.6 MB, free: 12.07 MB / 298.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: 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.001089/0.4288, allocations: 495.1 kB / 411.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.4291, allocations: 90.92 kB / 411.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.4295, allocations: 112.5 kB / 411.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.4295, allocations: 8 kB / 411.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4295, allocations: 7.984 kB / 411.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.4295, allocations: 0 / 411.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.4359, allocations: 2.589 MB / 413.9 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.436, allocations: 0 / 413.9 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008384/0.4368, allocations: 83.88 kB / 413.9 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.4382, allocations: 397.3 kB / 414.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.4384, allocations: 16 kB / 414.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007739/0.4462, allocations: 4.214 MB / 418.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4462, allocations: 0 / 418.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004852/0.4511, allocations: 1.989 MB / 420.6 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008814/0.452, allocations: 287.7 kB / 420.8 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.4523, allocations: 16 kB / 420.9 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.4532, allocations: 51.94 kB / 420.9 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.4535, allocations: 76.53 kB / 421 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/0.4536, allocations: 20 kB / 421 MB, free: 1.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001258/0.4549, allocations: 0.6668 MB / 421.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4549, allocations: 0 / 421.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001643/0.4566, allocations: 346.9 kB / 422 MB, free: 396 kB / 298.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: 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.006344/0.4629, allocations: 2.554 MB / 424.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00446/0.4675, allocations: 1.288 MB / 425.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/0.4675, allocations: 4 kB / 425.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.4701, allocations: 0.8137 MB / 426.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4721, allocations: 234.1 kB / 426.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.4847, allocations: 6.236 MB / 433.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/0.4864, allocations: 1.369 MB / 434.5 MB, free: 3.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.4877, allocations: 415.3 kB / 434.9 MB, free: 3.273 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4877, allocations: 4 kB / 434.9 MB, free: 3.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.295/3.782, allocations: 27.26 MB / 462.2 MB, free: 7.988 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat