Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",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.001042/0.001042, allocations: 195.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.138/1.138, allocations: 225.5 MB / 234.4 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008876/0.0008876, allocations: 89.06 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09345/0.09436, allocations: 56.92 MB / 343.2 MB, free: 8.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08275/0.1771, allocations: 51.47 MB / 394.7 MB, free: 5.035 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.4007, allocations: 81.82 MB / 476.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.4009, allocations: 89.22 kB / 476.6 MB, free: 10.71 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.01586/0.4168, allocations: 6.899 MB / 483.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.4168, allocations: 8 kB / 483.5 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.4171, allocations: 87 kB / 483.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.4174, allocations: 345.4 kB / 484 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4175, allocations: 12 kB / 484 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.4175, allocations: 20 kB / 484 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003548/0.4179, allocations: 213.5 kB / 484.2 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.4183, allocations: 316 kB / 484.5 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4183, allocations: 7.844 kB / 484.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.4184, allocations: 7.438 kB / 484.5 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4184, allocations: 8 kB / 484.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.4199, allocations: 1.416 MB / 485.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.4201, allocations: 199.6 kB / 486.1 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.4204, allocations: 144.3 kB / 486.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.4204, allocations: 4.234 kB / 486.3 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.4207, allocations: 179.2 kB / 486.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.4207, allocations: 0 / 486.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005603/0.4212, allocations: 288.5 kB / 486.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.4213, allocations: 118.1 kB / 486.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.4215, allocations: 240 kB / 487.1 MB, free: 2.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.4215, allocations: 25.7 kB / 487.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.4216, allocations: 196.2 kB / 487.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.4216, allocations: 91.97 kB / 487.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.4217, allocations: 0 / 487.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.4217, allocations: 340.8 kB / 487.7 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4218, allocations: 78.2 kB / 487.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.422, allocations: 191.7 kB / 488 MB, free: 1.543 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.4221, allocations: 105.5 kB / 488.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4222, allocations: 0 / 488.1 MB, free: 1.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004873/0.4226, allocations: 333.7 kB / 488.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.4227, allocations: 4 kB / 488.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4227, allocations: 4 kB / 488.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.423, allocations: 82.5 kB / 488.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.4232, allocations: 55.91 kB / 488.6 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.4245, allocations: 1.6 MB / 490.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.4248, allocations: 27.69 kB / 490.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.4248, allocations: 19.98 kB / 490.2 MB, free: 15.5 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: 11 ($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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.4249, allocations: 124.3 kB / 490.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.425, allocations: 31.62 kB / 490.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.425, allocations: 36.59 kB / 490.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.425, allocations: 4 kB / 490.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.4251, allocations: 0 / 490.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.4251, allocations: 6.234 kB / 490.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.4256, allocations: 0.5054 MB / 490.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4256, allocations: 0.9375 kB / 490.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.4258, allocations: 35.95 kB / 490.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.4261, allocations: 71.62 kB / 491 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.4261, allocations: 11.42 kB / 491 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.4276, allocations: 1.594 MB / 492.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4276, allocations: 2.719 kB / 492.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007393/0.4283, allocations: 448.8 kB / 493.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009722/0.4293, allocations: 0.9355 MB / 494 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4295, allocations: 133.1 kB / 494.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.4295, allocations: 7.25 kB / 494.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.4297, allocations: 15.98 kB / 494.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.4298, allocations: 21.78 kB / 494.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.4298, allocations: 20.89 kB / 494.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001646/0.43, allocations: 189.4 kB / 494.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009566/0.431, allocations: 99.69 kB / 494.5 MB, free: 11.64 MB / 362.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001776/0.4311, allocations: 125.9 kB / 494.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005605/0.4317, allocations: 339.7 kB / 494.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4317, allocations: 0 / 494.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.4321, allocations: 236.6 kB / 495.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.4323, allocations: 39.36 kB / 495.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.4334, allocations: 499.1 kB / 495.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.4338, allocations: 0.8453 MB / 496.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4338, allocations: 0 / 496.5 MB, free: 9.676 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat