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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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"}) [: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 trunk/package.mo): time 0.001614/0.001614, allocations: 200.2 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.12/1.12, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008595/0.0008597, allocations: 95.14 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08881/0.08969, allocations: 56.92 MB / 343.3 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.17, allocations: 51.48 MB / 394.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.3744, allocations: 84.43 MB / 479.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.3746, allocations: 86.84 kB / 479.2 MB, free: 8.902 MB / 346.7 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.03194/0.4066, allocations: 14.48 MB / 493.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.4066, allocations: 8 kB / 493.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.407, allocations: 141.4 kB / 493.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.408, allocations: 0.6173 MB / 494.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.408, allocations: 20 kB / 494.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.4081, allocations: 39.98 kB / 494.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000987/0.4091, allocations: 0.6964 MB / 495.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.4102, allocations: 0.8035 MB / 496 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.4103, allocations: 3.906 kB / 496.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.4103, allocations: 7.984 kB / 496.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.4104, allocations: 29.31 kB / 496.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.414, allocations: 2.713 MB / 498.8 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.4146, allocations: 453.6 kB / 499.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.4151, allocations: 357.4 kB / 499.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.4151, allocations: 8.312 kB / 499.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.4156, allocations: 329.1 kB / 499.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.4156, allocations: 0 / 499.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001056/0.4167, allocations: 0.6295 MB / 0.4888 GB, free: 7.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.4167, allocations: 108.1 kB / 0.4889 GB, free: 7.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.4173, allocations: 493.3 kB / 0.4894 GB, free: 7.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.4174, allocations: 26.58 kB / 0.4894 GB, free: 6.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4175, allocations: 292.9 kB / 0.4897 GB, free: 6.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.4176, allocations: 131.4 kB / 0.4898 GB, free: 6.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.4176, allocations: 4.031 kB / 0.4898 GB, free: 6.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4178, allocations: 366.6 kB / 0.4902 GB, free: 6.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.418, allocations: 197.4 kB / 0.4904 GB, free: 6.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.4184, allocations: 329.8 kB / 0.4907 GB, free: 5.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.4186, allocations: 219.7 kB / 0.4909 GB, free: 5.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4187, allocations: 3.984 kB / 0.4909 GB, free: 5.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009299/0.4196, allocations: 0.6799 MB / 0.4916 GB, free: 5.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4196, allocations: 6.344 kB / 0.4916 GB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4196, allocations: 4 kB / 0.4916 GB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/0.4201, allocations: 210.5 kB / 0.4918 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.4205, allocations: 74.59 kB / 0.4918 GB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.4229, allocations: 2.382 MB / 0.4942 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.4232, allocations: 55.53 kB / 0.4942 GB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.4233, allocations: 17.56 kB / 0.4942 GB, free: 2.828 MB / 362.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_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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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.0001095/0.4234, allocations: 120.8 kB / 0.4944 GB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.4235, allocations: 65 kB / 0.4944 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.4236, allocations: 60.73 kB / 0.4945 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4236, allocations: 8 kB / 0.4945 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4236, allocations: 0 / 0.4945 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4236, allocations: 3.984 kB / 0.4945 GB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.4254, allocations: 1.474 MB / 0.4959 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4255, allocations: 0 / 0.4959 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.4257, allocations: 55.94 kB / 0.496 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003897/0.4261, allocations: 192.7 kB / 0.4962 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.4262, allocations: 7.984 kB / 0.4962 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.4284, allocations: 2.369 MB / 0.4985 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4284, allocations: 4 kB / 0.4985 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001233/0.4297, allocations: 1.041 MB / 0.4995 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001716/0.4314, allocations: 1.749 MB / 0.5012 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.4316, allocations: 192.3 kB / 0.5014 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.4317, allocations: 0 / 0.5014 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.432, allocations: 23.97 kB / 0.5014 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.4321, allocations: 35.95 kB / 0.5014 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.4322, allocations: 8 kB / 0.5015 GB, free: 11.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003932/0.4326, allocations: 386.9 kB / 0.5018 GB, free: 10.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001085/0.4337, allocations: 187.2 kB / 0.502 GB, free: 10.76 MB / 378.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001429/0.4338, allocations: 122.8 kB / 0.5021 GB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008749/0.4347, allocations: 0.6291 MB / 0.5027 GB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4347, allocations: 0 / 0.5027 GB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.4352, allocations: 418.5 kB / 0.5031 GB, free: 9.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.4357, allocations: 113.5 kB / 0.5032 GB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.4376, allocations: 1.086 MB / 0.5043 GB, free: 8.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/0.4383, allocations: 1.126 MB / 0.5054 GB, free: 7.199 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.4383, allocations: 0 / 0.5054 GB, free: 7.199 MB / 378.7 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