Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00107/0.00107, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.445/1.445, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00165/0.001651, allocations: 120.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.311e-05, allocations: 3.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07503/0.07507, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4032, allocations: 107.8 MB / 457.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.4035, allocations: 90.12 kB / 457.4 MB, free: 4.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5415/0.945, allocations: 159.3 MB / 0.6022 GB, free: 63.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.945, allocations: 0 / 0.6022 GB, free: 63.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004305/0.9454, allocations: 171.5 kB / 0.6024 GB, free: 63.57 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.01846/0.9639, allocations: 6.407 MB / 0.6086 GB, free: 60.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.964, allocations: 11.59 kB / 0.6086 GB, free: 60.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008602/0.9726, allocations: 1.512 MB / 0.6101 GB, free: 60.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.9855, allocations: 5.696 MB / 0.6157 GB, free: 57.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/0.986, allocations: 0.511 MB / 0.6162 GB, free: 57.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/0.9882, allocations: 0.6802 MB / 0.6168 GB, free: 56.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/1.004, allocations: 9.017 MB / 0.6256 GB, free: 51.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/1.004, allocations: 11.84 kB / 0.6256 GB, free: 51.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006224/1.005, allocations: 294.8 kB / 0.6259 GB, free: 51.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/1.005, allocations: 321 kB / 0.6262 GB, free: 50.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/1.017, allocations: 7.305 MB / 0.6334 GB, free: 43.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0427/1.06, allocations: 28.78 MB / 0.6615 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/1.072, allocations: 16.38 MB / 0.6775 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005059/1.077, allocations: 2.852 MB / 0.6803 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/1.091, allocations: 7.682 MB / 0.6878 GB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.092, allocations: 60.56 kB / 0.6878 GB, free: 2.379 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 4.919e-06/1.092, allocations: 0 / 0.6878 GB, free: 2.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=257): time 0.2352/1.327, allocations: 7.688 MB / 0.6953 GB, free: 73.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/1.327, allocations: 78.7 kB / 0.6954 GB, free: 73.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/1.333, allocations: 2.905 MB / 0.6982 GB, free: 72.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005697/1.333, allocations: 69.45 kB / 0.6983 GB, free: 72.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002065/1.335, allocations: 3.032 MB / 0.7013 GB, free: 71.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.336, allocations: 0.8936 MB / 0.7021 GB, free: 70.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.337, allocations: 64.75 kB / 0.7022 GB, free: 70.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/1.337, allocations: 438.5 kB / 0.7026 GB, free: 70.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/1.339, allocations: 1.288 MB / 0.7039 GB, free: 70.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/1.342, allocations: 2.303 MB / 0.7061 GB, free: 69.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003294/1.346, allocations: 1.743 MB / 0.7078 GB, free: 69.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/1.346, allocations: 15.3 kB / 0.7078 GB, free: 69.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=428) (initialization): time 0.007911/1.354, allocations: 4.469 MB / 0.7122 GB, free: 68.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/1.354, allocations: 15.66 kB / 0.7122 GB, free: 68.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.036e-05/1.354, allocations: 37.34 kB / 0.7123 GB, free: 68.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008918/1.355, allocations: 402.5 kB / 0.7126 GB, free: 68.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/1.358, allocations: 0.7818 MB / 0.7134 GB, free: 68.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/1.363, allocations: 7.31 MB / 0.7205 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/1.367, allocations: 169 kB / 0.7207 GB, free: 63.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004363/1.367, allocations: 144.8 kB / 0.7208 GB, free: 63.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006083/1.368, allocations: 307.5 kB / 0.7211 GB, free: 63.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/1.368, allocations: 361 kB / 0.7215 GB, free: 63.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006499/1.375, allocations: 4.011 MB / 0.7254 GB, free: 62.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.375, allocations: 25.97 kB / 0.7254 GB, free: 62.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.375, allocations: 12.47 kB / 0.7254 GB, free: 62.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/1.375, allocations: 13.5 kB / 0.7254 GB, free: 62.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.39, allocations: 9.615 MB / 0.7348 GB, free: 61.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/1.39, allocations: 3.406 kB / 0.7348 GB, free: 61.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.392, allocations: 395.9 kB / 0.7352 GB, free: 61.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/1.394, allocations: 0.8515 MB / 0.736 GB, free: 61.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.394, allocations: 69.77 kB / 0.7361 GB, free: 60.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/1.407, allocations: 16 MB / 0.7517 GB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.407, allocations: 6.406 kB / 0.7517 GB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008458/1.416, allocations: 6.061 MB / 0.7577 GB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/1.418, allocations: 0.7349 MB / 0.7584 GB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006742/1.419, allocations: 61.56 kB / 0.7584 GB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.42, allocations: 142.7 kB / 0.7586 GB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/1.421, allocations: 202.5 kB / 0.7588 GB, free: 44.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.421, allocations: 77.08 kB / 0.7588 GB, free: 44.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003227/1.424, allocations: 2.195 MB / 0.761 GB, free: 43.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.424, allocations: 0 / 0.761 GB, free: 43.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004329/1.429, allocations: 1.19 MB / 0.7621 GB, free: 43.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 184 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008008/1.429, allocations: 0.6144 MB / 0.7627 GB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005146/1.435, allocations: 3.886 MB / 0.7665 GB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.435, allocations: 2.469 kB / 0.7665 GB, free: 41.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003484/1.438, allocations: 2.736 MB / 0.7692 GB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004394/1.442, allocations: 0.9166 MB / 0.7701 GB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.462, allocations: 9.854 MB / 0.7797 GB, free: 35.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/1.466, allocations: 4.338 MB / 0.784 GB, free: 33.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003374/1.47, allocations: 0.8206 MB / 0.7848 GB, free: 33.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/1.471, allocations: 247.9 kB / 0.785 GB, free: 32.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/1.471, allocations: 0 / 0.785 GB, free: 32.94 MB / 410.7 MB Notification: Performance of Templates: time 0.08863/1.559, allocations: 55.32 MB / 0.839 GB, free: 8.32 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)