Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",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.001067/0.001067, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.15/1.15, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008673/0.0008673, allocations: 95.95 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09397/0.09486, allocations: 56.91 MB / 343.2 MB, free: 8.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.1768, allocations: 51.47 MB / 394.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2509/0.4277, allocations: 91.07 MB / 485.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.428, allocations: 80.14 kB / 485.9 MB, free: 2.121 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.1609/0.589, allocations: 65.39 MB / 0.5383 GB, free: 5.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.589, allocations: 8 kB / 0.5383 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.5905, allocations: 360.6 kB / 0.5387 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.5939, allocations: 1.576 MB / 0.5402 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.594, allocations: 75.91 kB / 0.5403 GB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004619/0.5945, allocations: 131.9 kB / 0.5404 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004141/0.5986, allocations: 2.359 MB / 0.5427 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005026/0.6037, allocations: 2.762 MB / 0.5454 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.6037, allocations: 0 / 0.5454 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.604, allocations: 0 / 0.5454 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.6041, allocations: 116.4 kB / 0.5455 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.6183, allocations: 8.526 MB / 0.5539 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.6206, allocations: 1.677 MB / 0.5555 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.6226, allocations: 1.416 MB / 0.5569 GB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.6229, allocations: 134.4 kB / 0.557 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.623, allocations: 47.88 kB / 0.5571 GB, free: 2.262 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 3.186e-06/0.623, allocations: 0 / 0.5571 GB, free: 2.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.007692/0.6307, allocations: 4.026 MB / 0.561 GB, free: 14.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.6307, allocations: 68.66 kB / 0.5611 GB, free: 14.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.6325, allocations: 1.085 MB / 0.5621 GB, free: 13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/0.6326, allocations: 29.7 kB / 0.5621 GB, free: 12.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.6331, allocations: 0.7598 MB / 0.5629 GB, free: 12.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/0.6334, allocations: 429.6 kB / 0.5633 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.6335, allocations: 0 / 0.5633 GB, free: 11.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6336, allocations: 353.9 kB / 0.5636 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.6347, allocations: 0.6819 MB / 0.5643 GB, free: 10.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.6357, allocations: 0.8245 MB / 0.5651 GB, free: 9.855 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.6368, allocations: 0.8026 MB / 0.5659 GB, free: 9.055 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6368, allocations: 3.906 kB / 0.5659 GB, free: 9.051 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003482/0.6403, allocations: 2.194 MB / 0.568 GB, free: 6.836 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6404, allocations: 4 kB / 0.568 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6404, allocations: 4 kB / 0.568 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.6421, allocations: 0.7097 MB / 0.5687 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/0.643, allocations: 215.7 kB / 0.5689 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1211/0.7641, allocations: 9.794 MB / 0.5785 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.7652, allocations: 23.69 kB / 0.5785 GB, free: 132.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.7653, allocations: 39.06 kB / 0.5786 GB, free: 132.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.7655, allocations: 136.6 kB / 0.5787 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.7657, allocations: 140.3 kB / 0.5788 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.7685, allocations: 2.062 MB / 0.5808 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7685, allocations: 20.56 kB / 0.5809 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.7686, allocations: 2.875 kB / 0.5809 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.7686, allocations: 11.39 kB / 0.5809 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/0.7744, allocations: 4.278 MB / 0.585 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7744, allocations: 0 / 0.585 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.7751, allocations: 172.2 kB / 0.5852 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.7766, allocations: 0.6863 MB / 0.5859 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/0.7767, allocations: 18.91 kB / 0.5859 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007936/0.7846, allocations: 9.781 MB / 0.5955 GB, free: 126.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7846, allocations: 7.688 kB / 0.5955 GB, free: 126.9 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003614/0.7883, allocations: 3.194 MB / 0.5986 GB, free: 126.6 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00447/0.7927, allocations: 4.661 MB / 0.6031 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006688/0.7934, allocations: 388.9 kB / 0.6035 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.7937, allocations: 7.812 kB / 0.6035 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/0.7944, allocations: 45.41 kB / 0.6036 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.7946, allocations: 84.14 kB / 0.6036 GB, free: 125.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/0.7947, allocations: 35.69 kB / 0.6037 GB, free: 125.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000942/0.7956, allocations: 0.8333 MB / 0.6045 GB, free: 125.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002083/0.7977, allocations: 468.9 kB / 0.6049 GB, free: 125.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003024/0.798, allocations: 195.5 kB / 0.6051 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.8006, allocations: 2.19 MB / 0.6073 GB, free: 125.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.8006, allocations: 0 / 0.6073 GB, free: 125.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.8024, allocations: 1.436 MB / 0.6087 GB, free: 124.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.8038, allocations: 325.5 kB / 0.609 GB, free: 124.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006375/0.8102, allocations: 3.737 MB / 0.6126 GB, free: 123.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/0.8117, allocations: 2.137 MB / 0.6147 GB, free: 123 MB / 442.7 MB Notification: Performance of SimCode: time 6.52e-07/0.8117, allocations: 0 / 0.6147 GB, free: 123 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat