Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001296/0.001296, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001666/0.001666, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.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.0004868/0.0004872, allocations: 11.98 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2068, allocations: 47.58 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02496/0.2318, allocations: 23.48 MB / 349.9 MB, free: 12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.2474, allocations: 7.943 MB / 357.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004609/0.252, allocations: 159.4 kB / 358 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004583/0.2566, allocations: 1.41 MB / 359.4 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008366/0.265, allocations: 2.419 MB / 361.9 MB, free: 36 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004921/0.27, allocations: 1.154 MB / 363 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.2832, allocations: 6.962 MB / 370 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.2939, allocations: 6.139 MB / 376.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005149/0.2991, allocations: 3.188 MB / 379.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006022/0.3051, allocations: 3.894 MB / 383.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002049/0.3072, allocations: 0.5352 MB / 383.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.3105, allocations: 0.8315 MB / 384.6 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002548/0.3131, allocations: 1.943 MB / 386.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002784/0.3159, allocations: 1.892 MB / 388.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.3308, allocations: 14.28 MB / 402.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.3309, allocations: 0 / 402.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3309, allocations: 0 / 402.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004399/0.3313, allocations: 0 / 402.7 MB, free: 7.059 MB / 334.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.02478/0.3561, allocations: 9.291 MB / 412 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3562, allocations: 11.97 kB / 412 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.3681, allocations: 2.089 MB / 414.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.3805, allocations: 5.413 MB / 419.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006008/0.3811, allocations: 0.6538 MB / 420.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/0.3832, allocations: 0.8436 MB / 421 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/0.409, allocations: 11.33 MB / 432.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.4093, allocations: 7.891 kB / 432.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.4104, allocations: 360 kB / 432.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003456/0.4107, allocations: 373.5 kB / 433 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/0.4323, allocations: 9.657 MB / 442.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3659/0.7982, allocations: 36 MB / 478.7 MB, free: 81.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.8102, allocations: 16.95 MB / 495.6 MB, free: 65.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/0.8246, allocations: 9.386 MB / 0.4932 GB, free: 58.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.8247, allocations: 76.11 kB / 0.4933 GB, free: 58.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=330): time 5.831e-06/0.8247, allocations: 0 / 0.4933 GB, free: 58.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=384): time 0.03269/0.8574, allocations: 16.87 MB / 0.5097 GB, free: 44.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.8575, allocations: 90.41 kB / 0.5098 GB, free: 44.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005389/0.8629, allocations: 4.42 MB / 0.5141 GB, free: 39.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005062/0.8634, allocations: 89.7 kB / 0.5142 GB, free: 39.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.8651, allocations: 3.837 MB / 0.518 GB, free: 35.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009461/0.866, allocations: 1.298 MB / 0.5192 GB, free: 34.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.8662, allocations: 88 kB / 0.5193 GB, free: 34.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8664, allocations: 0.4884 MB / 0.5198 GB, free: 34.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/0.8692, allocations: 2.008 MB / 0.5218 GB, free: 32.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003161/0.8724, allocations: 3.417 MB / 0.5251 GB, free: 28.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/0.8758, allocations: 2.595 MB / 0.5276 GB, free: 25.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-05/0.8759, allocations: 23.94 kB / 0.5277 GB, free: 25.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=601) (initialization): time 0.01216/0.8881, allocations: 6.76 MB / 0.5343 GB, free: 18.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.8881, allocations: 24.84 kB / 0.5343 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.042e-05/0.8882, allocations: 44 kB / 0.5343 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.89, allocations: 0.7784 MB / 0.5351 GB, free: 17.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004073/0.8941, allocations: 1.112 MB / 0.5362 GB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008737/0.9028, allocations: 10.58 MB / 0.5465 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/0.9077, allocations: 259.6 kB / 0.5467 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009349/0.9087, allocations: 212 kB / 0.5469 GB, free: 5.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * 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 (545): * Single equations (assignments): 537 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005836/0.9145, allocations: 2.538 MB / 0.5494 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/0.9157, allocations: 498 kB / 0.5499 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009608/0.9254, allocations: 5.783 MB / 0.5555 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.576e-05/0.9254, allocations: 40 kB / 0.5556 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.9255, allocations: 12 kB / 0.5556 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/0.9255, allocations: 15.94 kB / 0.5556 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/0.949, allocations: 13.93 MB / 0.5692 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.949, allocations: 4.75 kB / 0.5692 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002923/0.9519, allocations: 0.6788 MB / 0.5699 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.9542, allocations: 0.9057 MB / 0.5708 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/0.9546, allocations: 91.97 kB / 0.5709 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/0.9709, allocations: 14.34 MB / 0.5849 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.971, allocations: 8 kB / 0.5849 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/0.9864, allocations: 9.228 MB / 0.5939 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002962/0.9894, allocations: 0.9987 MB / 0.5948 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/0.9905, allocations: 83.98 kB / 0.5949 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/0.9932, allocations: 223.8 kB / 0.5951 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005999/0.9938, allocations: 286.4 kB / 0.5954 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/0.994, allocations: 112 kB / 0.5955 GB, free: 1.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004709/0.9988, allocations: 2.985 MB / 0.5984 GB, free: 14.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9988, allocations: 0 / 0.5984 GB, free: 14.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005392/1.004, allocations: 1.494 MB / 0.5999 GB, free: 13.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 299 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(2,100.0%) 13,(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006777/1.005, allocations: 258.9 kB / 0.6001 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009569/1.014, allocations: 5.868 MB / 0.6059 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.014, allocations: 1.875 kB / 0.6059 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005666/1.02, allocations: 3.575 MB / 0.6094 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/1.025, allocations: 1.06 MB / 0.6104 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.181/1.206, allocations: 18.03 MB / 0.628 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004849/1.211, allocations: 5.227 MB / 0.6331 GB, free: 143.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003809/1.215, allocations: 1.075 MB / 0.6342 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008796/1.216, allocations: 324.2 kB / 0.6345 GB, free: 143 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/1.216, allocations: 0 / 0.6345 GB, free: 143 MB / 446.1 MB Notification: Performance of Templates: time 0.09083/1.306, allocations: 64.91 MB / 0.6979 GB, free: 83.88 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) Environment - environmentSimulation: