Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.00108/0.00108, allocations: 196 kB / 8.538 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.147/1.147, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008231/0.0008231, allocations: 96.05 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09524/0.09609, allocations: 56.91 MB / 343.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.185, allocations: 51.47 MB / 394.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2117/0.3967, allocations: 92.67 MB / 487.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.3969, allocations: 83.39 kB / 487.5 MB, free: 492 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.4243/0.8212, allocations: 119.6 MB / 0.5929 GB, free: 41.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.8213, allocations: 7.844 kB / 0.5929 GB, free: 41.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.8232, allocations: 0.6021 MB / 0.5935 GB, free: 41.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004339/0.8275, allocations: 2.739 MB / 0.5961 GB, free: 41.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-05/0.8276, allocations: 127.3 kB / 0.5963 GB, free: 41.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004726/0.8281, allocations: 227.2 kB / 0.5965 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00599/0.8341, allocations: 4.377 MB / 0.6008 GB, free: 41.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006796/0.8409, allocations: 5.059 MB / 0.6057 GB, free: 40.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.747e-05/0.841, allocations: 3.703 kB / 0.6057 GB, free: 40.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.8413, allocations: 3.969 kB / 0.6057 GB, free: 40.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.8415, allocations: 212 kB / 0.6059 GB, free: 40.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02176/0.8633, allocations: 15.79 MB / 0.6213 GB, free: 37.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.867, allocations: 3.355 MB / 0.6246 GB, free: 37.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002928/0.8699, allocations: 2.789 MB / 0.6273 GB, free: 37.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/0.8702, allocations: 154.4 kB / 0.6275 GB, free: 37.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.8703, allocations: 59.31 kB / 0.6275 GB, free: 37.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.127e-06/0.8703, allocations: 6.234 kB / 0.6275 GB, free: 37.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.01152/0.8818, allocations: 7.6 MB / 0.635 GB, free: 36.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.8819, allocations: 79.42 kB / 0.635 GB, free: 36.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.8842, allocations: 1.847 MB / 0.6368 GB, free: 35.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.8844, allocations: 29.08 kB / 0.6369 GB, free: 35.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/0.8849, allocations: 1.302 MB / 0.6381 GB, free: 35.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.8854, allocations: 0.8096 MB / 0.6389 GB, free: 34.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.8855, allocations: 0 / 0.6389 GB, free: 34.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8856, allocations: 398.5 kB / 0.6393 GB, free: 34.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.8872, allocations: 1.321 MB / 0.6406 GB, free: 34.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.8889, allocations: 1.588 MB / 0.6421 GB, free: 34.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.8907, allocations: 1.569 MB / 0.6437 GB, free: 33.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.8907, allocations: 3.969 kB / 0.6437 GB, free: 33.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006531/0.8973, allocations: 4.235 MB / 0.6478 GB, free: 32.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.8973, allocations: 6.938 kB / 0.6478 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.8974, allocations: 10.16 kB / 0.6478 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/0.901, allocations: 1.417 MB / 0.6492 GB, free: 31.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.903, allocations: 398.4 kB / 0.6496 GB, free: 31.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/0.923, allocations: 21.93 MB / 0.671 GB, free: 31.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.925, allocations: 38.64 kB / 0.6711 GB, free: 31.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.9252, allocations: 82.31 kB / 0.6711 GB, free: 31.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.9256, allocations: 140.7 kB / 0.6713 GB, free: 30.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.9261, allocations: 258.2 kB / 0.6715 GB, free: 30.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00611/0.9323, allocations: 4.005 MB / 0.6754 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.9323, allocations: 23.97 kB / 0.6754 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.9323, allocations: 9.438 kB / 0.6755 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.9323, allocations: 12 kB / 0.6755 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.9444, allocations: 8.065 MB / 0.6833 GB, free: 26.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.9444, allocations: 7.969 kB / 0.6833 GB, free: 26.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.9458, allocations: 301.2 kB / 0.6836 GB, free: 26.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/0.949, allocations: 1.402 MB / 0.685 GB, free: 25.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.9492, allocations: 26.97 kB / 0.685 GB, free: 25.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01953/0.9687, allocations: 21.9 MB / 0.7064 GB, free: 25.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.9688, allocations: 0 / 0.7064 GB, free: 25.27 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007858/0.9766, allocations: 6.112 MB / 0.7124 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009962/0.9866, allocations: 8.593 MB / 0.7208 GB, free: 18.94 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/0.9883, allocations: 0.65 MB / 0.7214 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005991/0.9889, allocations: 15.61 kB / 0.7214 GB, free: 18.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.9903, allocations: 81.89 kB / 0.7215 GB, free: 18.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.9906, allocations: 148 kB / 0.7216 GB, free: 18.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.9907, allocations: 70.94 kB / 0.7217 GB, free: 18.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001773/0.9925, allocations: 1.417 MB / 0.7231 GB, free: 16.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003759/0.9963, allocations: 0.8395 MB / 0.7239 GB, free: 15.99 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004854/0.9968, allocations: 223 kB / 0.7241 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006125/1.003, allocations: 4.466 MB / 0.7285 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.003, allocations: 9.094 kB / 0.7285 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004308/1.007, allocations: 2.989 MB / 0.7314 GB, free: 8.832 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/1.01, allocations: 0.5898 MB / 0.732 GB, free: 8.367 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.025, allocations: 7.036 MB / 0.7389 GB, free: 2.223 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1261/1.151, allocations: 3.443 MB / 0.7422 GB, free: 122.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/1.151, allocations: 3.906 kB / 0.7422 GB, free: 122.5 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat