Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001469, allocations: 116 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 185.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000993/0.000993, allocations: 43.94 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2191, allocations: 49.43 MB / 401.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02303/0.2421, allocations: 23.79 MB / 425.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.2527, allocations: 6.502 MB / 431.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.2556, allocations: 163.4 kB / 431.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.2594, allocations: 1.626 MB / 433.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.2653, allocations: 2.217 MB / 435.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.2687, allocations: 1.425 MB / 437.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008408/0.2771, allocations: 8.08 MB / 445.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009121/0.2863, allocations: 7.289 MB / 452.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005195/0.2915, allocations: 3.844 MB / 456.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006895/0.2984, allocations: 4.441 MB / 460.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002367/0.3008, allocations: 1.094 MB / 461.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.3038, allocations: 1.304 MB / 463.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.3057, allocations: 2.435 MB / 465.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004246/0.31, allocations: 4.52 MB / 470.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.3224, allocations: 14.22 MB / 484.4 MB, free: 5.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3225, allocations: 0 / 484.4 MB, free: 5.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3225, allocations: 0 / 484.4 MB, free: 5.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002717/0.3227, allocations: 0 / 484.4 MB, free: 5.562 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02318/0.3459, allocations: 8.84 MB / 493.2 MB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.346, allocations: 8.031 kB / 493.2 MB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009336/0.3553, allocations: 1.659 MB / 494.9 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009659/0.365, allocations: 4.829 MB / 499.7 MB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004384/0.3655, allocations: 0.518 MB / 0.4885 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.367, allocations: 0.6835 MB / 0.4892 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.3843, allocations: 9.45 MB / 0.4984 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/0.3844, allocations: 11.89 kB / 0.4984 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007598/0.3852, allocations: 288 kB / 0.4987 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002761/0.3855, allocations: 326.2 kB / 0.499 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.3995, allocations: 8.082 MB / 0.5069 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04299/0.4426, allocations: 28.39 MB / 0.5346 GB, free: 5.594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.193/0.6356, allocations: 16.58 MB / 0.5508 GB, free: 108.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004754/0.6404, allocations: 2.917 MB / 0.5537 GB, free: 108.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.6507, allocations: 7.703 MB / 0.5612 GB, free: 104.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.6507, allocations: 64.64 kB / 0.5613 GB, free: 104.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=259): time 3.596e-06/0.6507, allocations: 0 / 0.5613 GB, free: 104.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.01707/0.6678, allocations: 11.03 MB / 0.572 GB, free: 99.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.6679, allocations: 80.09 kB / 0.5721 GB, free: 99.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/0.6713, allocations: 3.373 MB / 0.5754 GB, free: 98.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.6715, allocations: 69.23 kB / 0.5755 GB, free: 97.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.6726, allocations: 3.04 MB / 0.5784 GB, free: 95.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.673, allocations: 0.914 MB / 0.5793 GB, free: 94.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006989/0.6737, allocations: 0.5902 MB / 0.5799 GB, free: 94.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.25e-05/0.6737, allocations: 305.1 kB / 0.5802 GB, free: 93.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.6755, allocations: 1.396 MB / 0.5816 GB, free: 92.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.6776, allocations: 2.437 MB / 0.5839 GB, free: 89.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/0.6816, allocations: 4.082 MB / 0.5879 GB, free: 85.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.6816, allocations: 11.98 kB / 0.5879 GB, free: 85.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005855/0.6875, allocations: 4.701 MB / 0.5925 GB, free: 80.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.6876, allocations: 24.12 kB / 0.5926 GB, free: 80.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.6876, allocations: 32 kB / 0.5926 GB, free: 80.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007728/0.6884, allocations: 403.6 kB / 0.593 GB, free: 79.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.691, allocations: 0.7878 MB / 0.5937 GB, free: 79.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004708/0.6957, allocations: 7.95 MB / 0.6015 GB, free: 70.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.6979, allocations: 156 kB / 0.6017 GB, free: 70.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.6981, allocations: 148 kB / 0.6018 GB, free: 70.31 MB / 462.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (411): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0026/0.7007, allocations: 2.086 MB / 0.6038 GB, free: 68.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.7011, allocations: 371.3 kB / 0.6042 GB, free: 67.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005821/0.7069, allocations: 4.222 MB / 0.6083 GB, free: 63.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.707, allocations: 19.59 kB / 0.6083 GB, free: 63.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.707, allocations: 4.125 kB / 0.6083 GB, free: 63.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.7081, allocations: 0.7385 MB / 0.6091 GB, free: 62.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004379/0.7086, allocations: 56 kB / 0.6091 GB, free: 62.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.7101, allocations: 131.9 kB / 0.6092 GB, free: 62.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.7105, allocations: 221.8 kB / 0.6094 GB, free: 62.34 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007023/0.7175, allocations: 4.131 MB / 0.6135 GB, free: 58.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005479/0.723, allocations: 4.93 MB / 0.6183 GB, free: 53.19 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001565/0.7246, allocations: 1.434 MB / 0.6197 GB, free: 51.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002432/0.727, allocations: 2.294 MB / 0.6219 GB, free: 49.46 MB / 462.1 MB Notification: Performance of Backend: time 3.31e-07/0.727, allocations: 0 / 0.6219 GB, free: 49.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004392/0.7314, allocations: 3.196 MB / 0.6251 GB, free: 46.2 MB / 462.1 MB Notification: Performance of SimCode: time 0.01492/0.7463, allocations: 12.53 MB / 0.6373 GB, free: 33.65 MB / 462.1 MB Notification: Performance of Templates: time 0.08473/0.8311, allocations: 59.28 MB / 0.6952 GB, free: 7.02 MB / 494.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1)