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/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.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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009431/0.000943, allocations: 182.1 kB / 8.48 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008856/0.0008856, allocations: 90.25 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1501/0.151, allocations: 52.99 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06142/0.2124, allocations: 47.58 MB / 362.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.4118, allocations: 82.49 MB / 445.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4121, allocations: 84.62 kB / 445.2 MB, free: 10.71 MB / 314.7 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.03075/0.4428, allocations: 14.05 MB / 459.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.4429, allocations: 9.188 kB / 459.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.4431, allocations: 88.94 kB / 459.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.444, allocations: 0.6162 MB / 460 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.444, allocations: 19.81 kB / 460 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.4441, allocations: 41.47 kB / 460.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009897/0.4451, allocations: 0.6944 MB / 460.7 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4462, allocations: 0.8006 MB / 461.6 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.4463, allocations: 1.031 kB / 461.6 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.4463, allocations: 5.281 kB / 461.6 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.4464, allocations: 35.92 kB / 461.6 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.4499, allocations: 2.699 MB / 464.3 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.4505, allocations: 453.2 kB / 464.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.451, allocations: 368.3 kB / 465.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.4511, allocations: 11.72 kB / 465.1 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.4515, allocations: 324.8 kB / 465.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/0.4515, allocations: 0 / 465.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009445/0.4524, allocations: 0.6138 MB / 466 MB, free: 2.805 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.4525, allocations: 112.2 kB / 466.1 MB, free: 2.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.453, allocations: 474.1 kB / 466.6 MB, free: 2.523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.453, allocations: 27.05 kB / 466.6 MB, free: 2.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.4532, allocations: 290 kB / 466.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.8e-05/0.4532, allocations: 127.4 kB / 467 MB, free: 2.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.4533, allocations: 0 / 467 MB, free: 2.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.4534, allocations: 371.9 kB / 467.4 MB, free: 1.848 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.4536, allocations: 201.1 kB / 467.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.4539, allocations: 324.3 kB / 467.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.4543, allocations: 229.2 kB / 468.1 MB, free: 1.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.4543, allocations: 1.125 kB / 468.1 MB, free: 1.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00101/0.4553, allocations: 0.6764 MB / 468.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4553, allocations: 6.75 kB / 468.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4553, allocations: 4.625 kB / 468.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.4558, allocations: 204 kB / 469 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.4562, allocations: 84.83 kB / 469.1 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.4587, allocations: 2.568 MB / 471.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.4591, allocations: 47.53 kB / 471.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.4591, allocations: 21.36 kB / 471.7 MB, free: 15.75 MB / 330.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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.4593, allocations: 121.6 kB / 471.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.4594, allocations: 57.84 kB / 471.9 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.4595, allocations: 66.28 kB / 472 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4595, allocations: 4.5 kB / 472 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4595, allocations: 5.062 kB / 472 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4595, allocations: 0 / 472 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.4618, allocations: 1.597 MB / 473.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4618, allocations: 1.75 kB / 473.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.4621, allocations: 56.84 kB / 473.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.4625, allocations: 197.5 kB / 473.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.4625, allocations: 6.219 kB / 473.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.4648, allocations: 2.352 MB / 476.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4648, allocations: 0.9688 kB / 476.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001348/0.4662, allocations: 1.08 MB / 477.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001763/0.468, allocations: 1.781 MB / 479.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.4682, allocations: 189.2 kB / 479.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.199e-05/0.4683, allocations: 7.25 kB / 479.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.4686, allocations: 23.89 kB / 479.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.4687, allocations: 39.31 kB / 479.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.4688, allocations: 15.56 kB / 479.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003837/0.4692, allocations: 372.5 kB / 479.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001203/0.4704, allocations: 191.2 kB / 479.9 MB, free: 10.83 MB / 330.7 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) * 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.0001581/0.4705, allocations: 106.4 kB / 480 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008748/0.4714, allocations: 0.6328 MB / 480.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4714, allocations: 3.438 kB / 480.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.4719, allocations: 412.7 kB / 481 MB, free: 9.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.4725, allocations: 117.2 kB / 481.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4744, allocations: 1.08 MB / 482.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/0.4752, allocations: 1.12 MB / 483.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4752, allocations: 0 / 483.3 MB, free: 7.773 MB / 330.7 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) 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