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.001049/0.001049, allocations: 110.9 kB / 17.75 MB, free: 5.305 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.00108/0.00108, allocations: 190.6 kB / 18.68 MB, free: 4.375 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009978/0.0009978, allocations: 47.92 kB / 352 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2204, allocations: 49.43 MB / 401.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02356/0.244, allocations: 23.8 MB / 425.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.2563, allocations: 6.51 MB / 431.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.2601, allocations: 155.4 kB / 431.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004603/0.2647, allocations: 1.634 MB / 433.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.2716, allocations: 2.209 MB / 435.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.2757, allocations: 1.42 MB / 437.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00973/0.2854, allocations: 8.08 MB / 445.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.296, allocations: 7.292 MB / 452.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005625/0.3016, allocations: 3.852 MB / 456.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006883/0.3085, allocations: 4.429 MB / 460.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002782/0.3114, allocations: 1.094 MB / 461.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.3152, allocations: 1.308 MB / 463.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003309/0.3185, allocations: 2.443 MB / 465.7 MB, free: 8.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007229/0.3257, allocations: 4.52 MB / 470.2 MB, free: 3.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.3422, allocations: 14.25 MB / 484.4 MB, free: 5.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3423, allocations: 3.984 kB / 484.4 MB, free: 5.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3423, allocations: 3.938 kB / 484.4 MB, free: 5.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003765/0.3426, allocations: 0 / 484.4 MB, free: 5.484 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.02491/0.3676, allocations: 9.038 MB / 493.5 MB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3676, allocations: 12.03 kB / 493.5 MB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009742/0.3774, allocations: 1.698 MB / 495.2 MB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.3877, allocations: 4.847 MB / 0.4883 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005463/0.3882, allocations: 0.518 MB / 0.4888 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002107/0.3904, allocations: 0.6797 MB / 0.4895 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/0.4121, allocations: 9.458 MB / 0.4987 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002062/0.4124, allocations: 7.891 kB / 0.4987 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/0.4135, allocations: 288 kB / 0.499 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002964/0.4138, allocations: 330.2 kB / 0.4993 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/0.4308, allocations: 8.082 MB / 0.5072 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05053/0.4813, allocations: 28.47 MB / 0.535 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1938/0.6752, allocations: 16.58 MB / 0.5512 GB, free: 107.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/0.6798, allocations: 2.921 MB / 0.5541 GB, free: 107.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.6906, allocations: 7.708 MB / 0.5616 GB, free: 103.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.6906, allocations: 62.61 kB / 0.5616 GB, free: 103.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=259): time 5.169e-06/0.6906, allocations: 3.938 kB / 0.5616 GB, free: 103.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.01845/0.7091, allocations: 11.13 MB / 0.5725 GB, free: 98.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.7091, allocations: 80.19 kB / 0.5726 GB, free: 98.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.713, allocations: 3.38 MB / 0.5759 GB, free: 97.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.7132, allocations: 65.73 kB / 0.576 GB, free: 97.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.7144, allocations: 3.123 MB / 0.579 GB, free: 94.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/0.715, allocations: 0.9634 MB / 0.5799 GB, free: 94.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000762/0.7158, allocations: 0.5952 MB / 0.5805 GB, free: 93.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.889e-05/0.7158, allocations: 301.1 kB / 0.5808 GB, free: 93.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.7177, allocations: 1.401 MB / 0.5822 GB, free: 92.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.7199, allocations: 2.437 MB / 0.5846 GB, free: 89.53 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004127/0.724, allocations: 4.078 MB / 0.5885 GB, free: 84.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.7241, allocations: 12 kB / 0.5886 GB, free: 84.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006229/0.7303, allocations: 4.719 MB / 0.5932 GB, free: 80.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.7303, allocations: 25.03 kB / 0.5932 GB, free: 80.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.7304, allocations: 36.03 kB / 0.5932 GB, free: 80.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008296/0.7312, allocations: 391.4 kB / 0.5936 GB, free: 79.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.7339, allocations: 0.7943 MB / 0.5944 GB, free: 78.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.7386, allocations: 7.962 MB / 0.6021 GB, free: 70.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.7411, allocations: 160 kB / 0.6023 GB, free: 70.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.7413, allocations: 152 kB / 0.6024 GB, free: 70.1 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.002631/0.7439, allocations: 2.07 MB / 0.6045 GB, free: 68.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006117/0.7445, allocations: 389.6 kB / 0.6048 GB, free: 67.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005978/0.7505, allocations: 4.232 MB / 0.609 GB, free: 63.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.7506, allocations: 11.95 kB / 0.609 GB, free: 63.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.7506, allocations: 0 / 0.609 GB, free: 63.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.7519, allocations: 0.76 MB / 0.6097 GB, free: 62.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/0.7524, allocations: 60 kB / 0.6098 GB, free: 62.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.7539, allocations: 127.9 kB / 0.6099 GB, free: 62.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.7543, allocations: 217.8 kB / 0.6101 GB, free: 62.1 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007128/0.7614, allocations: 4.142 MB / 0.6142 GB, free: 57.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006097/0.7675, allocations: 4.944 MB / 0.619 GB, free: 52.92 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001629/0.7692, allocations: 1.434 MB / 0.6204 GB, free: 51.47 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0028/0.772, allocations: 2.294 MB / 0.6226 GB, free: 49.19 MB / 462.1 MB Notification: Performance of Backend: time 2.7e-07/0.772, allocations: 4 kB / 0.6226 GB, free: 49.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00527/0.7773, allocations: 3.207 MB / 0.6258 GB, free: 45.91 MB / 462.1 MB Notification: Performance of SimCode: time 0.01661/0.7939, allocations: 12.74 MB / 0.6382 GB, free: 33.13 MB / 462.1 MB Notification: Performance of Templates: time 0.09162/0.8855, allocations: 59.29 MB / 0.6961 GB, free: 6.496 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)