Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_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.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 359.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.205, allocations: 50.55 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.02915/0.2342, allocations: 30.73 MB / 440.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.2491, allocations: 8.548 MB / 449.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/0.2525, allocations: 195.4 kB / 449.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004148/0.2567, allocations: 1.964 MB / 451.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006983/0.2637, allocations: 2.67 MB / 454.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.2677, allocations: 1.815 MB / 455.9 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.2782, allocations: 10.3 MB / 466.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009883/0.2881, allocations: 9.615 MB / 475.8 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005752/0.2938, allocations: 4.817 MB / 480.6 MB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006659/0.3005, allocations: 5.839 MB / 486.5 MB, free: 4.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.3022, allocations: 1.371 MB / 487.9 MB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.3049, allocations: 1.714 MB / 489.6 MB, free: 1.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00226/0.3072, allocations: 3.031 MB / 492.6 MB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00532/0.3125, allocations: 5.679 MB / 498.3 MB, free: 8.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01484/0.3274, allocations: 17.64 MB / 0.5038 GB, free: 7.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3274, allocations: 0 / 0.5038 GB, free: 7.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3274, allocations: 4 kB / 0.5038 GB, free: 7.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000231/0.3276, allocations: 0 / 0.5038 GB, free: 7.191 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02367/0.3513, allocations: 11.04 MB / 0.5146 GB, free: 12.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3514, allocations: 8.031 kB / 0.5146 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.3623, allocations: 2.144 MB / 0.5167 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/0.3744, allocations: 6.265 MB / 0.5228 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000446/0.3748, allocations: 0.6386 MB / 0.5235 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.3762, allocations: 0.8554 MB / 0.5243 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.3949, allocations: 11.44 MB / 0.5355 GB, free: 6.523 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001651/0.3951, allocations: 3.984 kB / 0.5355 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007844/0.3959, allocations: 360 kB / 0.5358 GB, free: 6.168 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/0.3962, allocations: 373.5 kB / 0.5362 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3394/0.7356, allocations: 9.666 MB / 0.5456 GB, free: 111.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03992/0.7756, allocations: 35.43 MB / 0.5802 GB, free: 86.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.7864, allocations: 18.1 MB / 0.5979 GB, free: 67.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005926/0.7924, allocations: 4.255 MB / 0.602 GB, free: 63.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.8059, allocations: 11.54 MB / 0.6133 GB, free: 51.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.806, allocations: 76.97 kB / 0.6134 GB, free: 51.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=310): time 6.221e-06/0.806, allocations: 0 / 0.6134 GB, free: 51.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=362): time 0.02724/0.8332, allocations: 15.95 MB / 0.629 GB, free: 35.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.8333, allocations: 86.23 kB / 0.629 GB, free: 34.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004656/0.838, allocations: 4.496 MB / 0.6334 GB, free: 30.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.8382, allocations: 85.7 kB / 0.6335 GB, free: 30.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/0.8397, allocations: 3.922 MB / 0.6373 GB, free: 26.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005704/0.8403, allocations: 1.227 MB / 0.6385 GB, free: 25.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009696/0.8412, allocations: 0.7885 MB / 0.6393 GB, free: 24.44 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.087e-05/0.8413, allocations: 305.1 kB / 0.6396 GB, free: 24.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/0.8439, allocations: 1.949 MB / 0.6415 GB, free: 22.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/0.8469, allocations: 3.42 MB / 0.6448 GB, free: 18.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/0.8528, allocations: 5.722 MB / 0.6504 GB, free: 11.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.8528, allocations: 16 kB / 0.6504 GB, free: 11.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.009039/0.8619, allocations: 6.831 MB / 0.6571 GB, free: 4.781 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.8619, allocations: 25.25 kB / 0.6571 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/0.862, allocations: 44 kB / 0.6572 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.8639, allocations: 0.9073 MB / 0.6581 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/0.8674, allocations: 1.045 MB / 0.6591 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.88, allocations: 12.46 MB / 0.6713 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/0.8836, allocations: 239.7 kB / 0.6715 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.8839, allocations: 204 kB / 0.6717 GB, free: 5.316 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * 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 (529): * Single equations (assignments): 521 * Array equations: 2 * 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 {(2,13,100.0%), (1,8,100.0%), (2,13,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003861/0.8878, allocations: 2.55 MB / 0.6742 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/0.8886, allocations: 0.4901 MB / 0.6746 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009721/0.8983, allocations: 5.741 MB / 0.6803 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.374e-05/0.8984, allocations: 27.86 kB / 0.6803 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.8984, allocations: 0 / 0.6803 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/0.9004, allocations: 0.9753 MB / 0.6812 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005712/0.901, allocations: 68 kB / 0.6813 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/0.9032, allocations: 179.8 kB / 0.6815 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005123/0.9037, allocations: 306.3 kB / 0.6818 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01118/0.9149, allocations: 5.538 MB / 0.6872 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01026/0.9252, allocations: 6.936 MB / 0.6939 GB, free: 14.35 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002924/0.9281, allocations: 2.048 MB / 0.6959 GB, free: 12.29 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.004273/0.9324, allocations: 3.041 MB / 0.6989 GB, free: 9.258 MB / 0.4982 GB Notification: Performance of Backend: time 3.41e-07/0.9324, allocations: 0 / 0.6989 GB, free: 9.258 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.007993/0.9404, allocations: 4.346 MB / 0.7032 GB, free: 4.859 MB / 0.4982 GB Notification: Performance of SimCode: time 0.02251/0.9629, allocations: 15.06 MB / 0.7179 GB, free: 5.762 MB / 0.5138 GB Notification: Performance of Templates: time 0.2855/1.248, allocations: 75.22 MB / 0.7913 GB, free: 144.6 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1)