Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 118.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 55.91 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2101, allocations: 50.55 MB / 410 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.0246/0.2347, allocations: 25 MB / 435 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.2467, allocations: 6.907 MB / 441.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.25, allocations: 171.4 kB / 442.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.2541, allocations: 1.595 MB / 443.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005969/0.2601, allocations: 2.123 MB / 445.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.2637, allocations: 1.485 MB / 447.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00872/0.2725, allocations: 8.143 MB / 455.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008487/0.281, allocations: 7.311 MB / 462.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/0.2865, allocations: 3.867 MB / 466.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006274/0.2928, allocations: 4.683 MB / 471.3 MB, free: 3.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001704/0.2945, allocations: 1.094 MB / 472.4 MB, free: 2.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.2969, allocations: 1.328 MB / 473.7 MB, free: 1.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.2989, allocations: 2.439 MB / 476.1 MB, free: 15.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004453/0.3033, allocations: 4.54 MB / 480.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.3155, allocations: 14.26 MB / 494.9 MB, free: 12.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3156, allocations: 0 / 494.9 MB, free: 12.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3156, allocations: 0 / 494.9 MB, free: 12.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002102/0.3158, allocations: 0 / 494.9 MB, free: 12.22 MB / 414.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.02029/0.3361, allocations: 8.895 MB / 0.492 GB, free: 3.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3361, allocations: 8.031 kB / 0.492 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008574/0.3447, allocations: 1.674 MB / 0.4937 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009414/0.3542, allocations: 4.857 MB / 0.4984 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003699/0.3546, allocations: 0.5141 MB / 0.4989 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.3558, allocations: 0.6913 MB / 0.4996 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.3716, allocations: 9.454 MB / 0.5088 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.3718, allocations: 0 / 0.5088 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006401/0.3724, allocations: 288 kB / 0.5091 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002786/0.3727, allocations: 334.2 kB / 0.5094 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.3859, allocations: 8.078 MB / 0.5173 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2171/0.6031, allocations: 28.58 MB / 0.5452 GB, free: 106.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.6142, allocations: 17.74 MB / 0.5625 GB, free: 92.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005214/0.6194, allocations: 3.664 MB / 0.5661 GB, free: 92.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.6305, allocations: 8.883 MB / 0.5748 GB, free: 88.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.6306, allocations: 63.39 kB / 0.5749 GB, free: 88.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=259): time 3.937e-06/0.6306, allocations: 4 kB / 0.5749 GB, free: 88.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.01844/0.649, allocations: 11.7 MB / 0.5863 GB, free: 81.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.6491, allocations: 85.5 kB / 0.5864 GB, free: 80.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.6526, allocations: 3.407 MB / 0.5897 GB, free: 77.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.6527, allocations: 73.69 kB / 0.5898 GB, free: 77.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.6539, allocations: 3.053 MB / 0.5927 GB, free: 74.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/0.6543, allocations: 0.9187 MB / 0.5936 GB, free: 73.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007268/0.6551, allocations: 0.5935 MB / 0.5942 GB, free: 72.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.112e-05/0.6551, allocations: 305.1 kB / 0.5945 GB, free: 72.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.6569, allocations: 1.451 MB / 0.5959 GB, free: 71.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.6591, allocations: 2.489 MB / 0.5984 GB, free: 68.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.6633, allocations: 4.192 MB / 0.6025 GB, free: 63.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.6633, allocations: 8 kB / 0.6025 GB, free: 63.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006388/0.6697, allocations: 5.021 MB / 0.6074 GB, free: 58.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.6697, allocations: 20.94 kB / 0.6074 GB, free: 58.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.6697, allocations: 35.98 kB / 0.6074 GB, free: 58.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.671, allocations: 0.5699 MB / 0.608 GB, free: 57.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.6736, allocations: 0.7839 MB / 0.6087 GB, free: 56.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/0.6801, allocations: 9.445 MB / 0.618 GB, free: 46.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.6823, allocations: 163.8 kB / 0.6181 GB, free: 46.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.6825, allocations: 152 kB / 0.6183 GB, free: 46.68 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 (406): * Single equations (assignments): 400 * 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,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002697/0.6852, allocations: 2.078 MB / 0.6203 GB, free: 44.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.6856, allocations: 367.5 kB / 0.6206 GB, free: 44.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006325/0.692, allocations: 4.549 MB / 0.6251 GB, free: 39.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.692, allocations: 11.95 kB / 0.6251 GB, free: 39.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.692, allocations: 4 kB / 0.6251 GB, free: 39.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.6932, allocations: 0.7464 MB / 0.6258 GB, free: 38.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/0.6936, allocations: 60 kB / 0.6259 GB, free: 38.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.6951, allocations: 127.9 kB / 0.626 GB, free: 38.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/0.6954, allocations: 237.7 kB / 0.6262 GB, free: 38.36 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007129/0.7026, allocations: 4.334 MB / 0.6305 GB, free: 34.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005754/0.7083, allocations: 5.012 MB / 0.6354 GB, free: 28.92 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00161/0.71, allocations: 1.469 MB / 0.6368 GB, free: 27.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002705/0.7127, allocations: 2.315 MB / 0.6391 GB, free: 25.13 MB / 462.1 MB Notification: Performance of Backend: time 2.7e-07/0.7127, allocations: 0 / 0.6391 GB, free: 25.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004741/0.7174, allocations: 3.312 MB / 0.6423 GB, free: 21.75 MB / 462.1 MB Notification: Performance of SimCode: time 0.01595/0.7334, allocations: 12.6 MB / 0.6546 GB, free: 9.129 MB / 462.1 MB Notification: Performance of Templates: time 0.09574/0.8292, allocations: 61.04 MB / 0.7142 GB, free: 12.66 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1)