Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001165/0.001165, allocations: 94.16 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.001531, allocations: 205.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002487/0.0002487, allocations: 8 kB / 306.7 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1288, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005069/0.1339, allocations: 3.755 MB / 362 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002756/0.1368, allocations: 1.251 MB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.1371, allocations: 27.88 kB / 363.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1374, allocations: 135.2 kB / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000821/0.1382, allocations: 299.1 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.1386, allocations: 127.7 kB / 363.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1397, allocations: 0.9703 MB / 364.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009661/0.1407, allocations: 0.7451 MB / 365.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007305/0.1414, allocations: 474.2 kB / 366 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.1422, allocations: 0.5992 MB / 366.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1423, allocations: 76 kB / 366.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.1425, allocations: 80 kB / 366.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.1428, allocations: 342.8 kB / 367.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.1431, allocations: 293 kB / 367.3 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.1448, allocations: 1.765 MB / 369.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1448, allocations: 0 / 369.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1448, allocations: 0 / 369.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.1448, allocations: 0 / 369.1 MB, free: 2.805 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002905/0.1477, allocations: 1.573 MB / 370.7 MB, free: 1.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1478, allocations: 8.031 kB / 370.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002445/0.148, allocations: 164.6 kB / 370.9 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000764/0.1488, allocations: 222.1 kB / 371.1 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2503/0.3991, allocations: 0.9243 MB / 372 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3993, allocations: 80.28 kB / 372.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/0.3997, allocations: 105.5 kB / 372.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004218/0.4039, allocations: 1.548 MB / 373.7 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.404, allocations: 0.9375 kB / 373.7 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.4041, allocations: 43.83 kB / 373.8 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.4043, allocations: 50.22 kB / 373.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003606/0.4079, allocations: 1.454 MB / 375.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009735/0.4176, allocations: 4.988 MB / 380.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.4194, allocations: 1.467 MB / 381.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.4195, allocations: 7.25 kB / 381.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.4206, allocations: 0.617 MB / 382.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.4206, allocations: 0 / 382.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006197/0.4268, allocations: 2.438 MB / 384.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.4269, allocations: 93.38 kB / 384.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.4282, allocations: 0.9372 MB / 385.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.4283, allocations: 42.02 kB / 385.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.4287, allocations: 0.5323 MB / 386.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.4289, allocations: 236 kB / 386.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.4289, allocations: 19.53 kB / 386.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.429, allocations: 329.6 kB / 387 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.4297, allocations: 425.3 kB / 387.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007528/0.4305, allocations: 0.5513 MB / 387.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000726/0.4312, allocations: 460.8 kB / 388.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4312, allocations: 1.031 kB / 388.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002192/0.4334, allocations: 1.307 MB / 389.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.4334, allocations: 6.531 kB / 389.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4335, allocations: 3.344 kB / 389.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/0.4344, allocations: 398.5 kB / 390.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.4349, allocations: 113.8 kB / 390.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005168/0.4401, allocations: 4.269 MB / 394.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/0.441, allocations: 77.86 kB / 394.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.4411, allocations: 32.12 kB / 394.6 MB, free: 6.348 MB / 302.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_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.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.001025/0.4421, allocations: 496.7 kB / 395.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.4423, allocations: 92.44 kB / 395.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.4425, allocations: 116.2 kB / 395.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.4425, allocations: 7.406 kB / 395.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4425, allocations: 3.953 kB / 395.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4425, allocations: 4.828 kB / 395.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/0.4465, allocations: 2.596 MB / 397.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4465, allocations: 15.89 kB / 397.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.4469, allocations: 87.78 kB / 398 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007113/0.4476, allocations: 381.6 kB / 398.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.4477, allocations: 19.78 kB / 398.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.4521, allocations: 4.229 MB / 402.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4522, allocations: 0 / 402.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.4551, allocations: 1.979 MB / 404.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005855/0.4557, allocations: 283.8 kB / 404.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4558, allocations: 15.95 kB / 404.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.4563, allocations: 51.95 kB / 404.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.4565, allocations: 72.53 kB / 405 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.4566, allocations: 19.98 kB / 405 MB, free: 13.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009414/0.4575, allocations: 0.6786 MB / 405.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4575, allocations: 0 / 405.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001193/0.4587, allocations: 350.8 kB / 406 MB, free: 12.52 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.003559/0.4623, allocations: 2.56 MB / 408.6 MB, free: 9.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.4649, allocations: 1.293 MB / 409.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.4649, allocations: 0 / 409.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.4663, allocations: 0.8081 MB / 410.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.4675, allocations: 237.7 kB / 410.9 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007922/0.4754, allocations: 6.281 MB / 417.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.4767, allocations: 1.415 MB / 418.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006362/0.4773, allocations: 171.3 kB / 418.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.4779, allocations: 423.2 kB / 419.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of SimCode: time 1.452e-06/0.4779, allocations: 0 / 419.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07647/0.5544, allocations: 25.51 MB / 444.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/0.5547, allocations: 266.9 kB / 445 MB, free: 5.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.928, allocations: 0 / 445 MB, free: 5.691 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat