Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 174.6 kB / 8.475 MB, free: 1.855 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.092/1.092, allocations: 205.2 MB / 214.1 MB, free: 5.059 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.0007968/0.0007968, allocations: 91.28 kB / 262.1 MB, free: 5.102 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1567/0.1575, allocations: 52.97 MB / 315.1 MB, free: 41.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06426/0.2218, allocations: 47.58 MB / 362.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.4315, allocations: 91.07 MB / 453.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4318, allocations: 82.3 kB / 453.8 MB, free: 8.695 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.277/0.7088, allocations: 119.3 MB / 0.5597 GB, free: 1.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.7088, allocations: 8 kB / 0.5597 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.7109, allocations: 0.5605 MB / 0.5602 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005171/0.7161, allocations: 2.753 MB / 0.5629 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.7162, allocations: 124 kB / 0.563 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005527/0.7168, allocations: 228 kB / 0.5633 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007718/0.7245, allocations: 4.405 MB / 0.5676 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008084/0.7326, allocations: 5.097 MB / 0.5725 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.949e-05/0.7327, allocations: 3.938 kB / 0.5725 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003273/0.733, allocations: 4 kB / 0.5725 GB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.7332, allocations: 216 kB / 0.5727 GB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1264/0.8596, allocations: 15.79 MB / 0.5882 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.8632, allocations: 3.341 MB / 0.5914 GB, free: 109 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/0.866, allocations: 2.805 MB / 0.5942 GB, free: 109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.8663, allocations: 153.2 kB / 0.5943 GB, free: 108.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.8664, allocations: 61.88 kB / 0.5944 GB, free: 108.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.298e-06/0.8664, allocations: 3.562 kB / 0.5944 GB, free: 108.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.01088/0.8772, allocations: 7.6 MB / 0.6018 GB, free: 107.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.8773, allocations: 80.7 kB / 0.6019 GB, free: 107.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.8796, allocations: 1.853 MB / 0.6037 GB, free: 107.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.8798, allocations: 29.14 kB / 0.6037 GB, free: 107.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.8802, allocations: 1.295 MB / 0.605 GB, free: 106.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.8807, allocations: 0.806 MB / 0.6058 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.8808, allocations: 0 / 0.6058 GB, free: 106.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.8809, allocations: 401.5 kB / 0.6062 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.8823, allocations: 1.317 MB / 0.6074 GB, free: 106.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.8839, allocations: 1.598 MB / 0.609 GB, free: 105.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.8856, allocations: 1.565 MB / 0.6105 GB, free: 105.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.8856, allocations: 7.75 kB / 0.6105 GB, free: 105.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005497/0.8911, allocations: 4.238 MB / 0.6147 GB, free: 105.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.8911, allocations: 9.562 kB / 0.6147 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.8911, allocations: 3.625 kB / 0.6147 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/0.894, allocations: 1.412 MB / 0.6161 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.8956, allocations: 394.3 kB / 0.6164 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.9119, allocations: 21.94 MB / 0.6379 GB, free: 92.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/0.9142, allocations: 32 kB / 0.6379 GB, free: 92.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.9144, allocations: 79.66 kB / 0.638 GB, free: 92.59 MB / 426.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.0004115/0.9148, allocations: 155.5 kB / 0.6381 GB, free: 92.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.9153, allocations: 257 kB / 0.6384 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005181/0.9204, allocations: 4.009 MB / 0.6423 GB, free: 92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.9205, allocations: 28.73 kB / 0.6423 GB, free: 92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.9205, allocations: 7.25 kB / 0.6423 GB, free: 92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.9205, allocations: 15 kB / 0.6423 GB, free: 92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.9311, allocations: 8.077 MB / 0.6502 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.9312, allocations: 0 / 0.6502 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.9324, allocations: 301.8 kB / 0.6505 GB, free: 88.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002869/0.9353, allocations: 1.395 MB / 0.6519 GB, free: 88.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.9355, allocations: 27 kB / 0.6519 GB, free: 88.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/0.9515, allocations: 21.87 MB / 0.6732 GB, free: 72.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.9516, allocations: 2.844 kB / 0.6733 GB, free: 72.07 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007315/0.9589, allocations: 6.102 MB / 0.6792 GB, free: 69.63 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008737/0.9677, allocations: 8.586 MB / 0.6876 GB, free: 65.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.9691, allocations: 0.648 MB / 0.6882 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/0.9695, allocations: 19.41 kB / 0.6882 GB, free: 65.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.9708, allocations: 81.52 kB / 0.6883 GB, free: 65.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/0.9711, allocations: 145.6 kB / 0.6885 GB, free: 65.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.9712, allocations: 69.64 kB / 0.6885 GB, free: 65.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001638/0.9729, allocations: 1.416 MB / 0.6899 GB, free: 64.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003356/0.9762, allocations: 0.846 MB / 0.6907 GB, free: 64.95 MB / 426.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.0003967/0.9766, allocations: 222.3 kB / 0.691 GB, free: 64.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005022/0.9817, allocations: 4.466 MB / 0.6953 GB, free: 61.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9817, allocations: 4 kB / 0.6953 GB, free: 61.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003435/0.9851, allocations: 2.999 MB / 0.6982 GB, free: 58.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.9879, allocations: 0.5846 MB / 0.6988 GB, free: 58.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.9991, allocations: 7.03 MB / 0.7057 GB, free: 52.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/1.002, allocations: 3.36 MB / 0.709 GB, free: 49.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/1.002, allocations: 0 / 0.709 GB, free: 49.89 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat