Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",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.001008/0.001008, allocations: 183.4 kB / 8.475 MB, free: 1.879 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.136/1.136, allocations: 205.2 MB / 214.1 MB, free: 5.156 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.0008722/0.0008722, allocations: 78.34 kB / 262.1 MB, free: 5.207 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1521/0.153, allocations: 52.98 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06266/0.2157, allocations: 47.58 MB / 362.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2527/0.4685, allocations: 130.6 MB / 493.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4687, allocations: 85.33 kB / 493.3 MB, free: 10.86 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.3941/0.8628, allocations: 98.59 MB / 0.578 GB, free: 40.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.8629, allocations: 7.406 kB / 0.578 GB, free: 40.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005343/0.8682, allocations: 0.9279 MB / 0.579 GB, free: 40.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007949/0.8762, allocations: 3.627 MB / 0.5825 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.8763, allocations: 118.1 kB / 0.5826 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004781/0.8768, allocations: 220.7 kB / 0.5828 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005671/0.8825, allocations: 3.547 MB / 0.5863 GB, free: 39.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005968/0.8884, allocations: 4.087 MB / 0.5903 GB, free: 39.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.357e-05/0.8885, allocations: 0 / 0.5903 GB, free: 39.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.8889, allocations: 3.938 kB / 0.5903 GB, free: 39.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.889, allocations: 161.2 kB / 0.5904 GB, free: 39.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.9093, allocations: 15.43 MB / 0.6055 GB, free: 36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.9111, allocations: 1.429 MB / 0.6069 GB, free: 35.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.9132, allocations: 1.737 MB / 0.6086 GB, free: 35.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007722/0.921, allocations: 5.326 MB / 0.6138 GB, free: 34.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.921, allocations: 65.03 kB / 0.6139 GB, free: 34.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=211): time 4.058e-06/0.921, allocations: 0 / 0.6139 GB, free: 34.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=214): time 0.00943/0.9305, allocations: 5.598 MB / 0.6193 GB, free: 33.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.9305, allocations: 181 kB / 0.6195 GB, free: 33.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.9327, allocations: 1.59 MB / 0.6211 GB, free: 33.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.9328, allocations: 29.27 kB / 0.6211 GB, free: 33.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.9333, allocations: 1.31 MB / 0.6224 GB, free: 32.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.9337, allocations: 0.6924 MB / 0.623 GB, free: 31.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.9338, allocations: 0 / 0.623 GB, free: 31.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9339, allocations: 404.4 kB / 0.6234 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.9352, allocations: 0.9342 MB / 0.6243 GB, free: 31.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.9367, allocations: 1.555 MB / 0.6259 GB, free: 30.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.9386, allocations: 1.242 MB / 0.6271 GB, free: 30.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.9387, allocations: 3.5 kB / 0.6271 GB, free: 30.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.004694/0.9434, allocations: 3.155 MB / 0.6302 GB, free: 30.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001299/0.9447, allocations: 7.626 MB / 0.6376 GB, free: 38.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/0.9447, allocations: 21.91 kB / 0.6376 GB, free: 38.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.9458, allocations: 479.9 kB / 0.6381 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.948, allocations: 0.5296 MB / 0.6386 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006285/0.9543, allocations: 7.615 MB / 0.646 GB, free: 32.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.9562, allocations: 44.36 kB / 0.6461 GB, free: 32.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.9565, allocations: 108 kB / 0.6462 GB, free: 32.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/0.9565, allocations: 3.875 kB / 0.6462 GB, free: 32.35 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004371/0.9609, allocations: 2.862 MB / 0.649 GB, free: 31.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/0.9609, allocations: 22.84 kB / 0.649 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/0.9618, allocations: 489.1 kB / 0.6495 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.9639, allocations: 0.5222 MB / 0.65 GB, free: 31.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006049/0.97, allocations: 7.611 MB / 0.6574 GB, free: 25.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.9716, allocations: 45.75 kB / 0.6574 GB, free: 25.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.9718, allocations: 97.56 kB / 0.6575 GB, free: 25.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 281 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000435/0.9723, allocations: 181.7 kB / 0.6577 GB, free: 24.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.9726, allocations: 241.8 kB / 0.6579 GB, free: 24.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004904/0.9775, allocations: 2.996 MB / 0.6609 GB, free: 23.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.9776, allocations: 19.19 kB / 0.6609 GB, free: 23.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.9776, allocations: 3.875 kB / 0.6609 GB, free: 23.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.9776, allocations: 13.16 kB / 0.6609 GB, free: 23.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008669/0.9863, allocations: 6.175 MB / 0.6669 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.9863, allocations: 3.938 kB / 0.6669 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.9878, allocations: 305.2 kB / 0.6672 GB, free: 20.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.9893, allocations: 0.6587 MB / 0.6679 GB, free: 20.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.9894, allocations: 15.5 kB / 0.6679 GB, free: 20.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.9997, allocations: 11.88 MB / 0.6795 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.9997, allocations: 10.75 kB / 0.6795 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005911/1.006, allocations: 4.433 MB / 0.6838 GB, free: 24.84 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00725/1.013, allocations: 6.209 MB / 0.6899 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.014, allocations: 0.5244 MB / 0.6904 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/1.014, allocations: 7.75 kB / 0.6904 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.016, allocations: 55.86 kB / 0.6905 GB, free: 21.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/1.016, allocations: 113.4 kB / 0.6906 GB, free: 21.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/1.016, allocations: 57.34 kB / 0.6906 GB, free: 21.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001574/1.018, allocations: 1.181 MB / 0.6918 GB, free: 20.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005076/1.023, allocations: 1.255 MB / 0.693 GB, free: 20.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 154 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 16} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006149/1.023, allocations: 439.7 kB / 0.6934 GB, free: 20.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005928/1.029, allocations: 4.963 MB / 0.6983 GB, free: 18.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.029, allocations: 0 / 0.6983 GB, free: 18.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002408/1.032, allocations: 1.91 MB / 0.7001 GB, free: 16.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.034, allocations: 489.5 kB / 0.7006 GB, free: 16.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.044, allocations: 5.806 MB / 0.7063 GB, free: 14.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/1.047, allocations: 2.769 MB / 0.709 GB, free: 13.3 MB / 458.7 MB Notification: Performance of SimCode: time 6.72e-07/1.047, allocations: 4 kB / 0.709 GB, free: 13.3 MB / 458.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)