Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002301/0.002301, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 95.5 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.559e-05, allocations: 4 kB / 314.9 MB, free: 9.043 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3392, allocations: 47.57 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2157/0.555, allocations: 130.7 MB / 493.1 MB, free: 3.488 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.5554, allocations: 83.95 kB / 493.2 MB, free: 3.406 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6308/1.186, allocations: 94.81 MB / 0.5742 GB, free: 69.31 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.444e-06/1.186, allocations: 0 / 0.5742 GB, free: 69.31 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000406/1.187, allocations: 95.78 kB / 0.5743 GB, free: 69.22 MB / 395.1 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.01479/1.201, allocations: 3.745 MB / 0.578 GB, free: 65.42 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.202, allocations: 8.031 kB / 0.578 GB, free: 65.41 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007456/1.209, allocations: 0.8966 MB / 0.5789 GB, free: 64.51 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/1.223, allocations: 3.609 MB / 0.5824 GB, free: 60.92 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/1.223, allocations: 116 kB / 0.5825 GB, free: 60.81 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/1.224, allocations: 223.9 kB / 0.5827 GB, free: 60.59 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01071/1.235, allocations: 3.49 MB / 0.5861 GB, free: 57.1 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/1.248, allocations: 4.039 MB / 0.5901 GB, free: 52.92 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/1.248, allocations: 11.88 kB / 0.5901 GB, free: 52.91 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007463/1.249, allocations: 4 kB / 0.5901 GB, free: 52.91 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/1.249, allocations: 151.2 kB / 0.5902 GB, free: 52.76 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03765/1.287, allocations: 15.33 MB / 0.6052 GB, free: 37.16 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009718/1.296, allocations: 7.682 MB / 0.6127 GB, free: 28.61 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004003/1.301, allocations: 1.639 MB / 0.6143 GB, free: 26.98 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/1.315, allocations: 4.936 MB / 0.6191 GB, free: 21.93 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/1.315, allocations: 52.56 kB / 0.6192 GB, free: 21.87 MB / 395.1 MB Notification: Performance of pre-optimization done (n=174): time 4.689e-06/1.315, allocations: 4 kB / 0.6192 GB, free: 21.87 MB / 395.1 MB Notification: Performance of matching and sorting (n=177): time 0.01603/1.331, allocations: 5.232 MB / 0.6243 GB, free: 16.54 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/1.331, allocations: 172.2 kB / 0.6245 GB, free: 16.33 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/1.335, allocations: 1.579 MB / 0.626 GB, free: 14.72 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000549/1.336, allocations: 25.7 kB / 0.626 GB, free: 14.69 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.338, allocations: 1.621 MB / 0.6276 GB, free: 13.05 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.339, allocations: 0.5773 MB / 0.6282 GB, free: 12.46 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/1.339, allocations: 0 / 0.6282 GB, free: 12.46 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002762/1.34, allocations: 403.2 kB / 0.6286 GB, free: 12.06 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/1.343, allocations: 0.7619 MB / 0.6293 GB, free: 11.29 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/1.347, allocations: 1.387 MB / 0.6307 GB, free: 9.625 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005601/1.352, allocations: 1.164 MB / 0.6318 GB, free: 8.461 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.496e-05/1.352, allocations: 7.953 kB / 0.6318 GB, free: 8.453 MB / 395.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01236/1.365, allocations: 2.732 MB / 0.6345 GB, free: 5.68 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003071/1.368, allocations: 7.412 MB / 0.6417 GB, free: 13.69 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/1.368, allocations: 20 kB / 0.6417 GB, free: 13.67 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002757/1.371, allocations: 459.9 kB / 0.6422 GB, free: 13.21 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005347/1.376, allocations: 483.2 kB / 0.6426 GB, free: 12.73 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.394, allocations: 7.774 MB / 0.6502 GB, free: 4.5 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/1.399, allocations: 51.86 kB / 0.6503 GB, free: 4.449 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007722/1.399, allocations: 88.19 kB / 0.6503 GB, free: 4.363 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.4, allocations: 8.094 kB / 0.6504 GB, free: 4.355 MB / 411.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01288/1.412, allocations: 2.61 MB / 0.6529 GB, free: 1.711 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/1.413, allocations: 20 kB / 0.6529 GB, free: 1.691 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/1.415, allocations: 468.7 kB / 0.6534 GB, free: 1.219 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005276/1.42, allocations: 479.2 kB / 0.6538 GB, free: 0.75 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3341/1.755, allocations: 7.795 MB / 0.6614 GB, free: 75.92 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.756, allocations: 41.66 kB / 0.6615 GB, free: 75.92 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/1.757, allocations: 89.88 kB / 0.6616 GB, free: 75.92 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (252): * Single equations (assignments): 245 * 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.0005925/1.757, allocations: 172.7 kB / 0.6617 GB, free: 75.81 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007129/1.765, allocations: 2.564 MB / 0.6642 GB, free: 75.5 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007553/1.765, allocations: 232.9 kB / 0.6645 GB, free: 75.5 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00701/1.772, allocations: 2.674 MB / 0.6671 GB, free: 75.13 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/1.772, allocations: 18.59 kB / 0.6671 GB, free: 75.13 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.772, allocations: 3.719 kB / 0.6671 GB, free: 75.13 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/1.773, allocations: 7.641 kB / 0.6671 GB, free: 75.13 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/1.786, allocations: 5.379 MB / 0.6724 GB, free: 74.47 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.786, allocations: 6.688 kB / 0.6724 GB, free: 74.47 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.789, allocations: 250.2 kB / 0.6726 GB, free: 74.47 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/1.791, allocations: 0.6353 MB / 0.6732 GB, free: 74.42 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/1.792, allocations: 13.95 kB / 0.6732 GB, free: 74.42 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/1.808, allocations: 12.09 MB / 0.685 GB, free: 66.86 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.808, allocations: 4.625 kB / 0.685 GB, free: 66.86 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/1.818, allocations: 3.879 MB / 0.6888 GB, free: 66.12 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.82, allocations: 486.8 kB / 0.6893 GB, free: 65.91 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000606/1.82, allocations: 15.33 kB / 0.6893 GB, free: 65.91 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/1.823, allocations: 55.73 kB / 0.6894 GB, free: 65.91 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005235/1.823, allocations: 134.3 kB / 0.6895 GB, free: 65.91 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.823, allocations: 47.45 kB / 0.6895 GB, free: 65.9 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.002804/1.826, allocations: 1.168 MB / 0.6907 GB, free: 65.76 MB / 411.1 MB Notification: Performance of sort global known variables: time 9.42e-07/1.826, allocations: 0 / 0.6907 GB, free: 65.76 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0083/1.835, allocations: 1.168 MB / 0.6918 GB, free: 65.76 MB / 411.1 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 (124): * Single equations (assignments): 118 * 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%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/1.846, allocations: 5.187 MB / 0.6969 GB, free: 64 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.009261/1.856, allocations: 4.406 MB / 0.7012 GB, free: 62.82 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.856, allocations: 0 / 0.7012 GB, free: 62.82 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004105/1.86, allocations: 1.828 MB / 0.703 GB, free: 62.14 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/1.865, allocations: 0.4921 MB / 0.7034 GB, free: 62.13 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/1.884, allocations: 6.191 MB / 0.7095 GB, free: 60.63 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.889, allocations: 2.537 MB / 0.712 GB, free: 59.61 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003106/1.892, allocations: 1.389 MB / 0.7133 GB, free: 58.46 MB / 411.1 MB Notification: Performance of SimCode: time 1.513e-06/1.892, allocations: 0 / 0.7133 GB, free: 58.46 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.582/6.474, allocations: 156.8 MB / 0.8665 GB, free: 107.9 MB / 443.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.pipe 2>&1)