Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001319/0.001319, allocations: 109.4 kB / 16.51 MB, free: 6.707 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.001376/0.001376, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.364/1.364, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001128/0.001128, allocations: 55.94 kB / 279.4 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08459, allocations: 46.62 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.03058/0.1152, allocations: 28.97 MB / 354.9 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.1338, allocations: 8.016 MB / 363 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008893/0.1427, allocations: 163.4 kB / 363.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007074/0.1499, allocations: 1.644 MB / 364.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.1601, allocations: 2.381 MB / 367.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006179/0.1663, allocations: 1.626 MB / 368.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1964/0.3627, allocations: 10.66 MB / 379.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/0.377, allocations: 7.982 MB / 387.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009076/0.3861, allocations: 3.856 MB / 391.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009902/0.3961, allocations: 5.099 MB / 396.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004695/0.4008, allocations: 0.7939 MB / 397.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005394/0.4062, allocations: 1.153 MB / 398.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004231/0.4105, allocations: 2.416 MB / 400.7 MB, free: 10 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01014/0.4206, allocations: 5.037 MB / 405.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.4356, allocations: 16.95 MB / 422.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4356, allocations: 0 / 422.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4356, allocations: 0 / 422.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005376/0.4362, allocations: 4 kB / 422.7 MB, free: 12.73 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.03633/0.4725, allocations: 10.94 MB / 433.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4726, allocations: 12.03 kB / 433.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.4861, allocations: 2.08 MB / 435.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/0.501, allocations: 5.495 MB / 441.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008532/0.5019, allocations: 0.6431 MB / 441.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/0.5052, allocations: 0.8501 MB / 442.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/0.5384, allocations: 11.45 MB / 454.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004236/0.5389, allocations: 7.984 kB / 454.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/0.5416, allocations: 355.1 kB / 454.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004132/0.542, allocations: 377.5 kB / 454.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.5654, allocations: 9.663 MB / 464.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08354/0.649, allocations: 35.85 MB / 0.4887 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02063/0.6697, allocations: 16.95 MB / 0.5052 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008438/0.6782, allocations: 3.516 MB / 0.5087 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02256/0.7008, allocations: 9.78 MB / 0.5182 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/0.7009, allocations: 76.72 kB / 0.5183 GB, free: 14.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=308): time 5.39e-06/0.7009, allocations: 0 / 0.5183 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=360): time 0.3884/1.089, allocations: 15.47 MB / 0.5334 GB, free: 146.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/1.089, allocations: 89.89 kB / 0.5335 GB, free: 146.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009121/1.099, allocations: 4.513 MB / 0.5379 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000629/1.099, allocations: 89.14 kB / 0.538 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00312/1.102, allocations: 3.889 MB / 0.5418 GB, free: 143.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.104, allocations: 1.223 MB / 0.543 GB, free: 142.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/1.105, allocations: 0.7892 MB / 0.5437 GB, free: 142 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/1.105, allocations: 305.1 kB / 0.544 GB, free: 141.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/1.109, allocations: 1.912 MB / 0.5459 GB, free: 140.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/1.113, allocations: 3.386 MB / 0.5492 GB, free: 138.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006743/1.12, allocations: 5.642 MB / 0.5547 GB, free: 134.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.159e-05/1.12, allocations: 19.78 kB / 0.5547 GB, free: 134.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01042/1.13, allocations: 6.557 MB / 0.5611 GB, free: 131.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/1.13, allocations: 24.56 kB / 0.5612 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.305e-05/1.13, allocations: 47.38 kB / 0.5612 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/1.132, allocations: 0.7528 MB / 0.5619 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/1.136, allocations: 1.065 MB / 0.563 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009659/1.146, allocations: 10.19 MB / 0.5729 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/1.15, allocations: 236.7 kB / 0.5732 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007216/1.151, allocations: 206.2 kB / 0.5734 GB, free: 123.3 MB / 446.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.004483/1.155, allocations: 2.542 MB / 0.5758 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.157, allocations: 488.4 kB / 0.5763 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.167, allocations: 5.453 MB / 0.5816 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.612e-05/1.167, allocations: 35.06 kB / 0.5817 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.811e-05/1.167, allocations: 11.84 kB / 0.5817 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/1.167, allocations: 18.94 kB / 0.5817 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/1.192, allocations: 12.95 MB / 0.5943 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.193, allocations: 4 kB / 0.5943 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/1.195, allocations: 0.6088 MB / 0.5949 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002227/1.197, allocations: 0.9186 MB / 0.5958 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/1.198, allocations: 94.08 kB / 0.5959 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.211, allocations: 14.11 MB / 0.6097 GB, free: 93.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.211, allocations: 8.078 kB / 0.6097 GB, free: 93.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.224, allocations: 8.028 MB / 0.6175 GB, free: 85.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003026/1.227, allocations: 0.9831 MB / 0.6185 GB, free: 84.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002069/1.229, allocations: 68.09 kB / 0.6186 GB, free: 84.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003808/1.233, allocations: 199.7 kB / 0.6188 GB, free: 84.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000805/1.234, allocations: 278.2 kB / 0.619 GB, free: 84.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003565/1.234, allocations: 104 kB / 0.6191 GB, free: 84.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007162/1.241, allocations: 3.067 MB / 0.6221 GB, free: 81.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.51e-07/1.241, allocations: 0.6562 kB / 0.6221 GB, free: 81.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007406/1.249, allocations: 1.474 MB / 0.6236 GB, free: 79.54 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.001016/1.25, allocations: 249 kB / 0.6238 GB, free: 79.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009626/1.259, allocations: 5.632 MB / 0.6293 GB, free: 73.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.26, allocations: 4 kB / 0.6293 GB, free: 73.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006187/1.266, allocations: 3.416 MB / 0.6326 GB, free: 70.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008868/1.275, allocations: 1.094 MB / 0.6337 GB, free: 68.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/1.309, allocations: 18.65 MB / 0.6519 GB, free: 50.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008753/1.318, allocations: 5.075 MB / 0.6569 GB, free: 45.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005841/1.324, allocations: 1.06 MB / 0.6579 GB, free: 44.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002294/1.326, allocations: 323.4 kB / 0.6582 GB, free: 43.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/1.326, allocations: 0 / 0.6582 GB, free: 43.76 MB / 446.1 MB Notification: Performance of Templates: time 0.3138/1.64, allocations: 67.14 MB / 0.7238 GB, free: 118.6 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)