Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001078/0.001078, allocations: 97.23 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 206.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002429, allocations: 4 kB / 306.7 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1165, allocations: 51.49 MB / 358.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004124/0.1207, allocations: 3.046 MB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1229, allocations: 1.025 MB / 362.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.1231, allocations: 11.94 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.1233, allocations: 87.44 kB / 362.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.124, allocations: 199.4 kB / 362.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1242, allocations: 103.8 kB / 362.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.1249, allocations: 0.5847 MB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.1255, allocations: 433.1 kB / 363.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.1259, allocations: 286.9 kB / 364 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.1263, allocations: 366.4 kB / 364.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.1264, allocations: 44 kB / 364.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1265, allocations: 48 kB / 364.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.1267, allocations: 195.4 kB / 364.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.1269, allocations: 197.2 kB / 364.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008827/0.1278, allocations: 0.9976 MB / 365.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1278, allocations: 0 / 365.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1278, allocations: 3.938 kB / 365.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1278, allocations: 0 / 365.8 MB, free: 6.336 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001771/0.1296, allocations: 1.045 MB / 366.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1297, allocations: 8.031 kB / 366.9 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.1298, allocations: 110.5 kB / 367 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.1302, allocations: 134.8 kB / 367.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.1311, allocations: 0.5954 MB / 367.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.1312, allocations: 57.25 kB / 367.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.816e-05/0.1313, allocations: 71.91 kB / 367.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.1327, allocations: 0.9111 MB / 368.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1327, allocations: 4 kB / 368.7 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.1328, allocations: 24 kB / 368.8 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.1329, allocations: 29.31 kB / 368.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.1341, allocations: 0.8053 MB / 369.6 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2347/0.3688, allocations: 2.829 MB / 372.4 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009997/0.3699, allocations: 0.7536 MB / 373.2 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3699, allocations: 4.328 kB / 373.2 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006895/0.3706, allocations: 390.4 kB / 373.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.926e-06/0.3706, allocations: 0 / 373.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003061/0.3737, allocations: 1.22 MB / 374.8 MB, free: 17.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.3738, allocations: 86.08 kB / 374.9 MB, free: 17.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3748, allocations: 0.5675 MB / 375.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.3749, allocations: 36.03 kB / 375.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.3753, allocations: 364.1 kB / 375.8 MB, free: 17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.3755, allocations: 138 kB / 376 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.3755, allocations: 9.188 kB / 376 MB, free: 16.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3756, allocations: 366.1 kB / 376.3 MB, free: 16.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.376, allocations: 230.5 kB / 376.5 MB, free: 16.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.3765, allocations: 373.1 kB / 376.9 MB, free: 16.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.3769, allocations: 250.2 kB / 377.2 MB, free: 16.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.377, allocations: 3.438 kB / 377.2 MB, free: 16.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001365/0.3783, allocations: 0.7722 MB / 377.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3784, allocations: 6.906 kB / 377.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3784, allocations: 6.844 kB / 377.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005385/0.3789, allocations: 200.6 kB / 378.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.3793, allocations: 79 kB / 378.2 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.3824, allocations: 2.734 MB / 380.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.3829, allocations: 60.62 kB / 381 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.3829, allocations: 18.89 kB / 381 MB, free: 14.16 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: 12 ($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.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.0006755/0.3836, allocations: 324.7 kB / 381.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.3837, allocations: 59.42 kB / 381.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.3839, allocations: 73.23 kB / 381.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3839, allocations: 3.906 kB / 381.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.3839, allocations: 0 / 381.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3839, allocations: 4.578 kB / 381.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.3868, allocations: 1.545 MB / 383 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.3868, allocations: 0 / 383 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.3871, allocations: 48.58 kB / 383.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005033/0.3876, allocations: 196.2 kB / 383.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.3877, allocations: 12.59 kB / 383.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.3907, allocations: 2.717 MB / 386 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3907, allocations: 5.125 kB / 386 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.3927, allocations: 1.114 MB / 387.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.3931, allocations: 197.4 kB / 387.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.3932, allocations: 10.64 kB / 387.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.3935, allocations: 31.34 kB / 387.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.3936, allocations: 45.95 kB / 387.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.3937, allocations: 20.42 kB / 387.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005877/0.3943, allocations: 417.8 kB / 387.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3943, allocations: 0 / 387.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000863/0.3951, allocations: 203.3 kB / 388 MB, free: 10.16 MB / 302.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (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.002045/0.3972, allocations: 1.689 MB / 389.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3987, allocations: 0.7478 MB / 390.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3987, allocations: 1.312 kB / 390.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007871/0.3995, allocations: 480.4 kB / 390.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.4002, allocations: 128.6 kB / 391 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.4038, allocations: 4.627 MB / 395.7 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.4044, allocations: 1.09 MB / 396.8 MB, free: 3.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.4047, allocations: 96.41 kB / 396.9 MB, free: 3.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.405, allocations: 244.4 kB / 397.1 MB, free: 3.434 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.405, allocations: 3.938 kB / 397.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.4335, allocations: 14.73 MB / 411.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.4338, allocations: 269 kB / 412.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.519, allocations: 7.766 kB / 412.1 MB, free: 7.324 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat