Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008086/0.0008083, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005929/0.005929, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.582/1.582, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004874/0.0004875, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2395, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02877/0.2683, allocations: 27.84 MB / 354.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.2852, allocations: 7.957 MB / 362.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006948/0.2922, allocations: 159.4 kB / 363 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006312/0.2986, allocations: 1.652 MB / 364.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.3096, allocations: 2.37 MB / 367 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005867/0.3154, allocations: 1.599 MB / 368.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01465/0.3301, allocations: 10.66 MB / 379.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01319/0.3433, allocations: 7.907 MB / 387.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00539/0.3487, allocations: 3.302 MB / 390.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007102/0.3559, allocations: 4.402 MB / 394.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.3582, allocations: 0.543 MB / 395.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.362, allocations: 0.9056 MB / 396.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003163/0.3652, allocations: 2.031 MB / 398.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008979/0.3741, allocations: 4.599 MB / 403 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0219/0.3961, allocations: 16.38 MB / 419.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3961, allocations: 0 / 419.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3962, allocations: 0 / 419.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007593/0.3969, allocations: 4 kB / 419.3 MB, free: 6.633 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.02892/0.4259, allocations: 9.206 MB / 428.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4259, allocations: 16.02 kB / 428.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.4387, allocations: 2.086 MB / 430.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.452, allocations: 5.513 MB / 436.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007785/0.4528, allocations: 0.6466 MB / 436.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00299/0.4558, allocations: 0.8474 MB / 437.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03059/0.4864, allocations: 11.47 MB / 449.1 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.4867, allocations: 11.84 kB / 449.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/0.4878, allocations: 352 kB / 449.5 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00038/0.4882, allocations: 377.5 kB / 449.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3455/0.8337, allocations: 9.718 MB / 459.6 MB, free: 97.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05632/0.89, allocations: 36.09 MB / 495.7 MB, free: 72.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.9028, allocations: 16.98 MB / 0.5006 GB, free: 55.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005401/0.9083, allocations: 3.542 MB / 0.5041 GB, free: 51.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01491/0.9232, allocations: 9.817 MB / 0.5137 GB, free: 41.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.9233, allocations: 72.95 kB / 0.5137 GB, free: 41.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 5.761e-06/0.9233, allocations: 0 / 0.5137 GB, free: 41.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.03165/0.955, allocations: 15.8 MB / 0.5292 GB, free: 25.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.955, allocations: 94.2 kB / 0.5292 GB, free: 25.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/0.961, allocations: 4.512 MB / 0.5337 GB, free: 20.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004662/0.9615, allocations: 89.7 kB / 0.5337 GB, free: 20.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.9632, allocations: 3.886 MB / 0.5375 GB, free: 16.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008388/0.9641, allocations: 1.226 MB / 0.5387 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.9644, allocations: 355.7 kB / 0.5391 GB, free: 15.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.9645, allocations: 301.1 kB / 0.5394 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.9674, allocations: 1.953 MB / 0.5413 GB, free: 13.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.9707, allocations: 3.422 MB / 0.5446 GB, free: 9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006527/0.9773, allocations: 5.727 MB / 0.5502 GB, free: 2.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.9773, allocations: 12 kB / 0.5502 GB, free: 2.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.0117/0.989, allocations: 6.643 MB / 0.5567 GB, free: 11.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.9891, allocations: 28.03 kB / 0.5567 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.975e-05/0.9892, allocations: 48 kB / 0.5568 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.9913, allocations: 0.7513 MB / 0.5575 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004288/0.9956, allocations: 1.084 MB / 0.5586 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/1.008, allocations: 10.2 MB / 0.5685 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005504/1.013, allocations: 263.6 kB / 0.5688 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007434/1.014, allocations: 212 kB / 0.569 GB, free: 14.77 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.005891/1.02, allocations: 2.534 MB / 0.5714 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.021, allocations: 490 kB / 0.5719 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.031, allocations: 5.532 MB / 0.5773 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/1.031, allocations: 39.98 kB / 0.5774 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/1.031, allocations: 15.94 kB / 0.5774 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.486e-05/1.031, allocations: 23.86 kB / 0.5774 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02469/1.056, allocations: 13.04 MB / 0.5901 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.056, allocations: 4.625 kB / 0.5901 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/1.059, allocations: 0.6281 MB / 0.5907 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/1.061, allocations: 0.9132 MB / 0.5916 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003508/1.062, allocations: 91.97 kB / 0.5917 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.077, allocations: 14.14 MB / 0.6055 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.077, allocations: 4 kB / 0.6055 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.093, allocations: 8.147 MB / 0.6135 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1892/1.282, allocations: 0.9811 MB / 0.6144 GB, free: 148.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002288/1.284, allocations: 75.69 kB / 0.6145 GB, free: 148.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00423/1.288, allocations: 213.6 kB / 0.6147 GB, free: 148.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.289, allocations: 285.7 kB / 0.615 GB, free: 148.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005162/1.29, allocations: 103.1 kB / 0.6151 GB, free: 148.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006875/1.297, allocations: 3.067 MB / 0.6181 GB, free: 147.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.297, allocations: 0 / 0.6181 GB, free: 147.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007296/1.304, allocations: 1.478 MB / 0.6195 GB, free: 147.9 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.001066/1.305, allocations: 243.6 kB / 0.6198 GB, free: 147.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00918/1.314, allocations: 5.709 MB / 0.6253 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/1.315, allocations: 0 / 0.6253 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005227/1.32, allocations: 3.469 MB / 0.6287 GB, free: 143.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009865/1.33, allocations: 1.106 MB / 0.6298 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/1.357, allocations: 18.81 MB / 0.6482 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005633/1.362, allocations: 5.083 MB / 0.6531 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004291/1.367, allocations: 1.061 MB / 0.6542 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.368, allocations: 321.3 kB / 0.6545 GB, free: 125.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.154e-06/1.368, allocations: 0 / 0.6545 GB, free: 125.9 MB / 446.1 MB Notification: Performance of Templates: time 0.1065/1.474, allocations: 66.24 MB / 0.7192 GB, free: 60.46 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)