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.001172/0.001172, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.444/1.444, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001409/0.001409, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2303, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.0294/0.2597, allocations: 29.41 MB / 354.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.2788, allocations: 8.136 MB / 362.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005105/0.284, allocations: 171.4 kB / 363 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004934/0.289, allocations: 1.94 MB / 365 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007843/0.2968, allocations: 2.643 MB / 367.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.3013, allocations: 1.77 MB / 369.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.3135, allocations: 10.16 MB / 379.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.3273, allocations: 9.46 MB / 389 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00796/0.3352, allocations: 4.743 MB / 393.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009148/0.3444, allocations: 5.523 MB / 399.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003892/0.3483, allocations: 1.363 MB / 400.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004968/0.3533, allocations: 1.738 MB / 402.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004142/0.3575, allocations: 3.019 MB / 405.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01043/0.3679, allocations: 5.652 MB / 411 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01987/0.3878, allocations: 17.39 MB / 428.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3879, allocations: 4 kB / 428.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3879, allocations: 0 / 428.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005163/0.3884, allocations: 0 / 428.4 MB, free: 12.36 MB / 366.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.03314/0.4216, allocations: 10.96 MB / 439.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4216, allocations: 11.89 kB / 439.4 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.4346, allocations: 2.082 MB / 441.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/0.4501, allocations: 5.82 MB / 447.3 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008672/0.451, allocations: 0.6505 MB / 448 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/0.4545, allocations: 0.8435 MB / 448.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3247/0.7792, allocations: 11.42 MB / 460.2 MB, free: 96.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/0.7795, allocations: 13.16 kB / 460.2 MB, free: 96.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.7806, allocations: 352.4 kB / 460.6 MB, free: 96.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003565/0.781, allocations: 383.6 kB / 461 MB, free: 96.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02134/0.8023, allocations: 9.624 MB / 470.6 MB, free: 91.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05728/0.8596, allocations: 35.71 MB / 0.4944 GB, free: 62.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.8726, allocations: 16.93 MB / 0.511 GB, free: 43.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005212/0.8778, allocations: 3.507 MB / 0.5144 GB, free: 40.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/0.8936, allocations: 9.691 MB / 0.5239 GB, free: 30.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.8937, allocations: 72.97 kB / 0.5239 GB, free: 30.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 4.88e-06/0.8937, allocations: 3.938 kB / 0.5239 GB, free: 30.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.02964/0.9234, allocations: 15.3 MB / 0.5389 GB, free: 14.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.9235, allocations: 86.22 kB / 0.539 GB, free: 14.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007895/0.9314, allocations: 4.438 MB / 0.5433 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003964/0.9318, allocations: 89.7 kB / 0.5434 GB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/0.9338, allocations: 3.885 MB / 0.5472 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008583/0.9347, allocations: 1.222 MB / 0.5484 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.9361, allocations: 0.7959 MB / 0.5491 GB, free: 4.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.9361, allocations: 301.1 kB / 0.5494 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/0.9391, allocations: 1.895 MB / 0.5513 GB, free: 2.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004239/0.9434, allocations: 3.351 MB / 0.5546 GB, free: 14.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009143/0.9525, allocations: 5.61 MB / 0.56 GB, free: 7.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.106e-05/0.9526, allocations: 19.94 kB / 0.5601 GB, free: 7.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01301/0.9656, allocations: 6.503 MB / 0.5664 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.9657, allocations: 32.16 kB / 0.5664 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.081e-05/0.9658, allocations: 44 kB / 0.5665 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.9678, allocations: 0.7396 MB / 0.5672 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004129/0.972, allocations: 1.053 MB / 0.5682 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.9842, allocations: 11.01 MB / 0.579 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/0.9887, allocations: 243.6 kB / 0.5792 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000799/0.9895, allocations: 207.9 kB / 0.5794 GB, free: 3.352 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.00571/0.9952, allocations: 2.542 MB / 0.5819 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/0.9968, allocations: 486.1 kB / 0.5824 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.009, allocations: 5.401 MB / 0.5876 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.973e-05/1.009, allocations: 36 kB / 0.5877 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-05/1.009, allocations: 12 kB / 0.5877 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.263e-05/1.009, allocations: 15.94 kB / 0.5877 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02829/1.038, allocations: 12.83 MB / 0.6002 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.038, allocations: 4 kB / 0.6002 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/1.041, allocations: 0.6011 MB / 0.6008 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/1.043, allocations: 0.917 MB / 0.6017 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003984/1.043, allocations: 87.97 kB / 0.6018 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2091/1.253, allocations: 15.28 MB / 0.6167 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/1.253, allocations: 5.688 kB / 0.6167 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/1.266, allocations: 7.93 MB / 0.6245 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/1.268, allocations: 0.9701 MB / 0.6254 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008288/1.269, allocations: 71.66 kB / 0.6255 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.272, allocations: 190.1 kB / 0.6257 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005702/1.272, allocations: 275.4 kB / 0.6259 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.272, allocations: 105.8 kB / 0.626 GB, free: 139.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00412/1.276, allocations: 3.01 MB / 0.629 GB, free: 138.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.276, allocations: 0 / 0.629 GB, free: 138.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005066/1.282, allocations: 1.465 MB / 0.6304 GB, free: 138.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.0006699/1.282, allocations: 252.8 kB / 0.6306 GB, free: 138.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01801/1.3, allocations: 8.14 MB / 0.6386 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.3, allocations: 5.891 kB / 0.6386 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004657/1.305, allocations: 3.391 MB / 0.6419 GB, free: 134 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005135/1.31, allocations: 1.149 MB / 0.643 GB, free: 133.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/1.335, allocations: 14.97 MB / 0.6577 GB, free: 121.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007049/1.342, allocations: 5.064 MB / 0.6626 GB, free: 117.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006874/1.349, allocations: 1.064 MB / 0.6636 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.351, allocations: 323.1 kB / 0.6639 GB, free: 116.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/1.351, allocations: 0 / 0.6639 GB, free: 116.3 MB / 446.1 MB Notification: Performance of Templates: time 0.1049/1.456, allocations: 68.7 MB / 0.731 GB, free: 47.59 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)