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.0008937/0.0008939, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.006719/0.006719, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.53/1.53, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004549/0.000455, allocations: 12 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.258, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.0276/0.2856, allocations: 27.84 MB / 354.9 MB, free: 7.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.3067, allocations: 7.954 MB / 362.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006364/0.3131, allocations: 159.4 kB / 363 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006016/0.3191, allocations: 1.64 MB / 364.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.3294, allocations: 2.373 MB / 367 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005779/0.3352, allocations: 1.611 MB / 368.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01603/0.3512, allocations: 10.66 MB / 379.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.3634, allocations: 7.907 MB / 387.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00647/0.3699, allocations: 3.294 MB / 390.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007707/0.3776, allocations: 4.402 MB / 394.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002051/0.3797, allocations: 0.5391 MB / 395.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005911/0.3856, allocations: 0.9056 MB / 396.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003469/0.3892, allocations: 2.043 MB / 398.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00958/0.3988, allocations: 4.592 MB / 403 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01947/0.4183, allocations: 16.38 MB / 419.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4183, allocations: 0 / 419.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4183, allocations: 4 kB / 419.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005471/0.4189, allocations: 0 / 419.3 MB, free: 6.625 MB / 350.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.02558/0.4445, allocations: 9.213 MB / 428.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4445, allocations: 12.03 kB / 428.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.4568, allocations: 2.086 MB / 430.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.4692, allocations: 5.512 MB / 436.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000863/0.4702, allocations: 0.6427 MB / 436.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003071/0.4732, allocations: 0.8513 MB / 437.7 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03001/0.5033, allocations: 11.47 MB / 449.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/0.5035, allocations: 7.906 kB / 449.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001416/0.505, allocations: 356 kB / 449.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003718/0.5054, allocations: 377.5 kB / 449.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.358/0.8634, allocations: 9.722 MB / 459.6 MB, free: 97.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05406/0.9175, allocations: 36.07 MB / 495.6 MB, free: 72.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.9308, allocations: 16.97 MB / 0.5006 GB, free: 55.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005818/0.9367, allocations: 3.551 MB / 0.5041 GB, free: 51.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/0.9511, allocations: 9.821 MB / 0.5137 GB, free: 41.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.9511, allocations: 64.97 kB / 0.5137 GB, free: 41.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 4.689e-06/0.9511, allocations: 3.938 kB / 0.5137 GB, free: 41.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.03018/0.9813, allocations: 15.8 MB / 0.5292 GB, free: 25.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.9814, allocations: 86.22 kB / 0.5292 GB, free: 25.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005923/0.9873, allocations: 4.52 MB / 0.5337 GB, free: 20.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005898/0.9879, allocations: 81.7 kB / 0.5337 GB, free: 20.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.9897, allocations: 3.89 MB / 0.5375 GB, free: 16.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009776/0.9906, allocations: 1.227 MB / 0.5387 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/0.9911, allocations: 355.7 kB / 0.5391 GB, free: 15.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.9911, allocations: 301.1 kB / 0.5394 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.9939, allocations: 1.957 MB / 0.5413 GB, free: 13.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/0.9974, allocations: 3.422 MB / 0.5446 GB, free: 8.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006396/1.004, allocations: 5.727 MB / 0.5502 GB, free: 2.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.934e-05/1.004, allocations: 16 kB / 0.5502 GB, free: 2.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01137/1.015, allocations: 6.635 MB / 0.5567 GB, free: 11.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/1.015, allocations: 28 kB / 0.5567 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.11e-05/1.015, allocations: 44 kB / 0.5568 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/1.017, allocations: 0.7529 MB / 0.5575 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00449/1.022, allocations: 1.092 MB / 0.5586 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/1.033, allocations: 10.2 MB / 0.5685 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/1.037, allocations: 251.7 kB / 0.5688 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006174/1.038, allocations: 208 kB / 0.569 GB, free: 14.75 MB / 414.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.004812/1.043, allocations: 2.538 MB / 0.5714 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.044, allocations: 490 kB / 0.5719 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.054, allocations: 5.536 MB / 0.5773 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-05/1.054, allocations: 36 kB / 0.5774 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/1.054, allocations: 12 kB / 0.5774 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.783e-05/1.054, allocations: 19.88 kB / 0.5774 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.078, allocations: 13.04 MB / 0.5901 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.078, allocations: 8.125 kB / 0.5901 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.081, allocations: 0.628 MB / 0.5907 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/1.083, allocations: 0.9211 MB / 0.5916 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003925/1.084, allocations: 83.97 kB / 0.5917 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/1.099, allocations: 14.15 MB / 0.6055 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.099, allocations: 8 kB / 0.6055 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2279/1.327, allocations: 8.148 MB / 0.6135 GB, free: 147.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003664/1.33, allocations: 0.9796 MB / 0.6145 GB, free: 147.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/1.332, allocations: 74.62 kB / 0.6145 GB, free: 147.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003454/1.335, allocations: 215 kB / 0.6147 GB, free: 147.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007161/1.336, allocations: 281.4 kB / 0.615 GB, free: 147.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/1.336, allocations: 100.6 kB / 0.6151 GB, free: 147.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005941/1.342, allocations: 3.067 MB / 0.6181 GB, free: 147.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.342, allocations: 0 / 0.6181 GB, free: 147.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006203/1.348, allocations: 1.481 MB / 0.6195 GB, free: 147.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008403/1.349, allocations: 245.5 kB / 0.6198 GB, free: 147.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00869/1.358, allocations: 5.709 MB / 0.6253 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/1.358, allocations: 3.844 kB / 0.6254 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005644/1.364, allocations: 3.457 MB / 0.6287 GB, free: 143.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/1.376, allocations: 1.097 MB / 0.6298 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/1.407, allocations: 18.82 MB / 0.6482 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005112/1.412, allocations: 5.077 MB / 0.6531 GB, free: 126.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003781/1.416, allocations: 1.063 MB / 0.6542 GB, free: 125.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009445/1.417, allocations: 318.6 kB / 0.6545 GB, free: 125.5 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/1.417, allocations: 0 / 0.6545 GB, free: 125.5 MB / 446.1 MB Notification: Performance of Templates: time 0.0969/1.514, allocations: 66.24 MB / 0.7192 GB, free: 60.27 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (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)