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.001068/0.001068, allocations: 114.3 kB / 18.45 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.001099/0.001099, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 59.91 kB / 359.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2122, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.04251/0.2548, allocations: 30.74 MB / 440.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.2695, allocations: 8.548 MB / 449.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.2726, allocations: 203.3 kB / 449.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.2764, allocations: 2.01 MB / 451.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.282, allocations: 2.756 MB / 454.2 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.2854, allocations: 1.805 MB / 456.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00965/0.2951, allocations: 10.32 MB / 466.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009856/0.305, allocations: 9.615 MB / 476 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.3106, allocations: 4.813 MB / 480.8 MB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007272/0.3179, allocations: 5.846 MB / 486.6 MB, free: 4.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001791/0.3197, allocations: 1.367 MB / 488 MB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.3226, allocations: 1.722 MB / 489.7 MB, free: 1.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002356/0.3249, allocations: 3.027 MB / 492.8 MB, free: 14.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005457/0.3304, allocations: 5.687 MB / 498.4 MB, free: 8.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.3462, allocations: 17.68 MB / 0.504 GB, free: 7.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3462, allocations: 0 / 0.504 GB, free: 7.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3462, allocations: 0 / 0.504 GB, free: 7.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002364/0.3465, allocations: 0 / 0.504 GB, free: 7.012 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.02368/0.3702, allocations: 11.28 MB / 0.515 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3702, allocations: 8.031 kB / 0.5151 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.3814, allocations: 2.204 MB / 0.5172 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.3927, allocations: 6.304 MB / 0.5234 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004451/0.3931, allocations: 0.6347 MB / 0.524 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.3944, allocations: 0.8555 MB / 0.5248 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.4124, allocations: 11.43 MB / 0.536 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001664/0.4126, allocations: 15.88 kB / 0.536 GB, free: 5.996 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007569/0.4134, allocations: 356 kB / 0.5363 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000316/0.4137, allocations: 377.5 kB / 0.5367 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3448/0.7585, allocations: 9.664 MB / 0.5461 GB, free: 111 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04216/0.8007, allocations: 35.53 MB / 0.5808 GB, free: 86.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.8119, allocations: 18.09 MB / 0.5985 GB, free: 66.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00601/0.818, allocations: 4.259 MB / 0.6027 GB, free: 62.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01396/0.8319, allocations: 11.56 MB / 0.6139 GB, free: 50.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.832, allocations: 68.98 kB / 0.614 GB, free: 50.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=310): time 4.409e-06/0.832, allocations: 0 / 0.614 GB, free: 50.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=362): time 0.02753/0.8595, allocations: 16.07 MB / 0.6297 GB, free: 34.87 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.8596, allocations: 90.17 kB / 0.6298 GB, free: 34.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.8644, allocations: 4.496 MB / 0.6342 GB, free: 30.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.8646, allocations: 93.7 kB / 0.6343 GB, free: 30.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.8662, allocations: 4.021 MB / 0.6382 GB, free: 26.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006047/0.8668, allocations: 1.295 MB / 0.6395 GB, free: 25.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009998/0.8678, allocations: 0.7888 MB / 0.6402 GB, free: 24.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.8678, allocations: 309.1 kB / 0.6405 GB, free: 23.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/0.8705, allocations: 1.953 MB / 0.6424 GB, free: 22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.8735, allocations: 3.412 MB / 0.6458 GB, free: 17.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00604/0.8796, allocations: 5.729 MB / 0.6514 GB, free: 11.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.8796, allocations: 12 kB / 0.6514 GB, free: 11.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.009419/0.889, allocations: 6.857 MB / 0.6581 GB, free: 4.586 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.8891, allocations: 28 kB / 0.6581 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/0.8891, allocations: 44 kB / 0.6581 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.8912, allocations: 0.8969 MB / 0.659 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/0.8947, allocations: 1.041 MB / 0.66 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/0.9074, allocations: 12.48 MB / 0.6722 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/0.9108, allocations: 239.9 kB / 0.6725 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.9112, allocations: 204 kB / 0.6727 GB, free: 5.102 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.003991/0.9152, allocations: 2.55 MB / 0.6751 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007969/0.916, allocations: 0.5085 MB / 0.6756 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00976/0.9258, allocations: 5.746 MB / 0.6812 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.195e-05/0.9258, allocations: 19.88 kB / 0.6813 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.9258, allocations: 0 / 0.6813 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/0.9275, allocations: 1.001 MB / 0.6822 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005932/0.9281, allocations: 71.98 kB / 0.6823 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.9303, allocations: 179.8 kB / 0.6825 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000553/0.9309, allocations: 306.3 kB / 0.6828 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01153/0.9424, allocations: 5.552 MB / 0.6882 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01072/0.9532, allocations: 6.962 MB / 0.695 GB, free: 14.07 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002924/0.9561, allocations: 2.041 MB / 0.697 GB, free: 12.02 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.004417/0.9605, allocations: 3.045 MB / 0.7 GB, free: 8.977 MB / 0.4982 GB Notification: Performance of Backend: time 3.9e-07/0.9606, allocations: 3.938 kB / 0.7 GB, free: 8.973 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008244/0.9688, allocations: 4.373 MB / 0.7042 GB, free: 4.523 MB / 0.4982 GB Notification: Performance of SimCode: time 0.0221/0.9909, allocations: 15.3 MB / 0.7192 GB, free: 5.152 MB / 0.5138 GB Notification: Performance of Templates: time 0.2839/1.275, allocations: 75.23 MB / 0.7927 GB, free: 144 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)