Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SMEE_Generator_MultiPhase,tolerance=1e-06,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.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,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.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.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.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 106.2 kB / 18.4 MB, free: 4.676 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.001621/0.001621, allocations: 184.3 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 52.34 kB / 329.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06819/0.06936, allocations: 46.62 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.1664/0.2358, allocations: 29.42 MB / 405.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.2525, allocations: 8.124 MB / 413.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004815/0.2573, allocations: 172 kB / 413.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00501/0.2624, allocations: 1.935 MB / 415.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007661/0.27, allocations: 2.652 MB / 418.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.2739, allocations: 1.768 MB / 419.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.2847, allocations: 10.21 MB / 430.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009729/0.2944, allocations: 9.464 MB / 439.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/0.3002, allocations: 4.759 MB / 444.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006291/0.3065, allocations: 5.527 MB / 449.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.3081, allocations: 1.371 MB / 451.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.3108, allocations: 1.722 MB / 453 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.3131, allocations: 3.027 MB / 456 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005191/0.3183, allocations: 5.652 MB / 461.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.3325, allocations: 17.53 MB / 479.2 MB, free: 7.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3325, allocations: 0 / 479.2 MB, free: 7.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3326, allocations: 0 / 479.2 MB, free: 7.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002311/0.3328, allocations: 0 / 479.2 MB, free: 7.957 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02334/0.3561, allocations: 10.96 MB / 490.2 MB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3562, allocations: 12.03 kB / 490.2 MB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.3665, allocations: 2.074 MB / 492.2 MB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009771/0.3763, allocations: 5.882 MB / 498.1 MB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/0.3767, allocations: 0.6463 MB / 498.8 MB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/0.3779, allocations: 0.8439 MB / 499.6 MB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01794/0.3958, allocations: 11.43 MB / 0.4991 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.396, allocations: 7.906 kB / 0.4991 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007744/0.3968, allocations: 360 kB / 0.4994 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003309/0.3971, allocations: 373.5 kB / 0.4998 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.4124, allocations: 9.634 MB / 0.5092 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04789/0.4603, allocations: 35.24 MB / 0.5436 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3017/0.762, allocations: 16.93 MB / 0.5601 GB, free: 130.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006563/0.7686, allocations: 3.486 MB / 0.5635 GB, free: 130.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.7834, allocations: 9.644 MB / 0.573 GB, free: 125.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.7835, allocations: 70.22 kB / 0.573 GB, free: 125.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=308): time 4.849e-06/0.7835, allocations: 0.5 kB / 0.573 GB, free: 125.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=360): time 0.02941/0.8129, allocations: 15.32 MB / 0.588 GB, free: 119.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.813, allocations: 92.53 kB / 0.5881 GB, free: 119.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005171/0.8182, allocations: 4.446 MB / 0.5924 GB, free: 117.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.8184, allocations: 81.48 kB / 0.5925 GB, free: 117.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/0.8201, allocations: 3.88 MB / 0.5963 GB, free: 114.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/0.8209, allocations: 1.225 MB / 0.5975 GB, free: 113.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009829/0.8219, allocations: 0.7907 MB / 0.5983 GB, free: 113.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.8219, allocations: 305.1 kB / 0.5985 GB, free: 112.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/0.8245, allocations: 1.892 MB / 0.6004 GB, free: 112.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003069/0.8276, allocations: 3.356 MB / 0.6037 GB, free: 109.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/0.8337, allocations: 5.608 MB / 0.6091 GB, free: 105.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.8337, allocations: 12.47 kB / 0.6092 GB, free: 105.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.009411/0.8431, allocations: 6.507 MB / 0.6155 GB, free: 100 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.8432, allocations: 28.88 kB / 0.6155 GB, free: 99.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/0.8432, allocations: 49.03 kB / 0.6156 GB, free: 99.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.8448, allocations: 0.7301 MB / 0.6163 GB, free: 99.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/0.8483, allocations: 1.054 MB / 0.6173 GB, free: 98.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/0.8565, allocations: 11.01 MB / 0.6281 GB, free: 86.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.8598, allocations: 239 kB / 0.6283 GB, free: 86.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.8601, allocations: 214.5 kB / 0.6285 GB, free: 86.17 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (534): * Single equations (assignments): 526 * 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,5,100.0%), (2,13,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003242/0.8634, allocations: 2.537 MB / 0.631 GB, free: 83.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/0.864, allocations: 494 kB / 0.6315 GB, free: 83.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007717/0.8717, allocations: 5.388 MB / 0.6367 GB, free: 77.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.8718, allocations: 23.92 kB / 0.6367 GB, free: 77.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.8718, allocations: 0 / 0.6367 GB, free: 77.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.8731, allocations: 0.9559 MB / 0.6377 GB, free: 76.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005519/0.8737, allocations: 68 kB / 0.6377 GB, free: 76.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/0.8758, allocations: 183.8 kB / 0.6379 GB, free: 76.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004048/0.8762, allocations: 290.3 kB / 0.6382 GB, free: 76.12 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009423/0.8856, allocations: 5.334 MB / 0.6434 GB, free: 70.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008241/0.8939, allocations: 6.814 MB / 0.6501 GB, free: 63.95 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002272/0.8962, allocations: 1.99 MB / 0.652 GB, free: 61.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003489/0.8997, allocations: 3.008 MB / 0.6549 GB, free: 58.94 MB / 478.1 MB Notification: Performance of Backend: time 3.51e-07/0.8997, allocations: 0 / 0.6549 GB, free: 58.94 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006899/0.9066, allocations: 4.233 MB / 0.6591 GB, free: 54.66 MB / 478.1 MB Notification: Performance of SimCode: time 0.0184/0.925, allocations: 14.94 MB / 0.6737 GB, free: 39.69 MB / 478.1 MB Notification: Performance of Templates: time 0.1027/1.028, allocations: 71.5 MB / 0.7435 GB, free: 236 kB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)