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.001187/0.001187, 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.001283/0.001283, allocations: 194.6 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.431/1.431, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.00121/0.00121, allocations: 51.94 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2191, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.02859/0.2477, allocations: 29.42 MB / 354.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.2654, allocations: 8.128 MB / 362.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005803/0.2712, allocations: 171.4 kB / 363 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006861/0.2782, allocations: 1.936 MB / 365 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.2897, allocations: 2.643 MB / 367.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00576/0.2954, allocations: 1.77 MB / 369.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01482/0.3103, allocations: 10.17 MB / 379.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.3218, allocations: 9.468 MB / 389 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007289/0.3291, allocations: 4.739 MB / 393.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008245/0.3374, allocations: 5.523 MB / 399.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002915/0.3404, allocations: 1.367 MB / 400.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004246/0.3446, allocations: 1.73 MB / 402.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002894/0.3475, allocations: 3.019 MB / 405.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008591/0.3561, allocations: 5.656 MB / 411.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02099/0.3772, allocations: 17.39 MB / 428.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3772, allocations: 0 / 428.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3772, allocations: 4 kB / 428.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005373/0.3778, allocations: 4 kB / 428.4 MB, free: 12.32 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.03427/0.4121, allocations: 10.96 MB / 439.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4121, allocations: 11.89 kB / 439.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.4306, allocations: 2.09 MB / 441.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/0.4489, allocations: 5.82 MB / 447.3 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009299/0.4498, allocations: 0.6466 MB / 448 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003314/0.4532, allocations: 0.8436 MB / 448.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3207/0.7739, allocations: 11.42 MB / 460.2 MB, free: 96.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002752/0.7742, allocations: 12.06 kB / 460.3 MB, free: 96.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0014/0.7756, allocations: 353.6 kB / 460.6 MB, free: 96.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003659/0.776, allocations: 382.3 kB / 461 MB, free: 96.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.7961, allocations: 9.628 MB / 470.6 MB, free: 91.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05292/0.849, allocations: 35.71 MB / 0.4944 GB, free: 62.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.861, allocations: 16.93 MB / 0.511 GB, free: 43.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004899/0.8659, allocations: 3.507 MB / 0.5144 GB, free: 40.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/0.8795, allocations: 9.707 MB / 0.5239 GB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.8795, allocations: 64.97 kB / 0.5239 GB, free: 30.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=308): time 4.759e-06/0.8795, allocations: 0 / 0.5239 GB, free: 30.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=360): time 0.02903/0.9086, allocations: 15.3 MB / 0.5389 GB, free: 14.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.9087, allocations: 90.16 kB / 0.539 GB, free: 14.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005463/0.9141, allocations: 4.441 MB / 0.5433 GB, free: 10.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004954/0.9146, allocations: 85.7 kB / 0.5434 GB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.9163, allocations: 3.889 MB / 0.5472 GB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008261/0.9171, allocations: 1.222 MB / 0.5484 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009462/0.918, allocations: 0.7924 MB / 0.5492 GB, free: 4.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.17e-05/0.9181, allocations: 301.1 kB / 0.5494 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.9207, allocations: 1.887 MB / 0.5513 GB, free: 2.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/0.9241, allocations: 3.355 MB / 0.5546 GB, free: 14.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007585/0.9317, allocations: 5.61 MB / 0.56 GB, free: 7.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-05/0.9318, allocations: 19.94 kB / 0.5601 GB, free: 7.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01136/0.9431, allocations: 6.503 MB / 0.5664 GB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/0.9432, allocations: 24 kB / 0.5664 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.501e-05/0.9433, allocations: 48.06 kB / 0.5665 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/0.9454, allocations: 0.7358 MB / 0.5672 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004288/0.9497, allocations: 1.053 MB / 0.5682 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.9606, allocations: 11.01 MB / 0.579 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00411/0.9647, allocations: 247.6 kB / 0.5792 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007164/0.9655, allocations: 208 kB / 0.5794 GB, free: 3.301 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.004967/0.9705, allocations: 2.534 MB / 0.5819 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/0.972, allocations: 494 kB / 0.5824 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009891/0.9819, allocations: 5.399 MB / 0.5876 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-05/0.982, allocations: 39.98 kB / 0.5877 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.982, allocations: 8 kB / 0.5877 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/0.982, allocations: 20.06 kB / 0.5877 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/1.004, allocations: 12.83 MB / 0.6002 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.004, allocations: 4 kB / 0.6002 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002662/1.006, allocations: 0.6049 MB / 0.6008 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002195/1.009, allocations: 0.9131 MB / 0.6017 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/1.009, allocations: 87.97 kB / 0.6018 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1955/1.205, allocations: 15.28 MB / 0.6167 GB, free: 142.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.205, allocations: 5.156 kB / 0.6167 GB, free: 142.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/1.217, allocations: 7.936 MB / 0.6245 GB, free: 140.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.219, allocations: 0.9658 MB / 0.6254 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007197/1.22, allocations: 74.72 kB / 0.6255 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/1.222, allocations: 194.3 kB / 0.6257 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005489/1.223, allocations: 274.4 kB / 0.6259 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.223, allocations: 106.9 kB / 0.626 GB, free: 139.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003736/1.227, allocations: 3.005 MB / 0.629 GB, free: 138.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.227, allocations: 0 / 0.629 GB, free: 138.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004357/1.231, allocations: 1.464 MB / 0.6304 GB, free: 138.3 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.0005226/1.232, allocations: 249 kB / 0.6306 GB, free: 138.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01961/1.251, allocations: 8.137 MB / 0.6386 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.251, allocations: 3.969 kB / 0.6386 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005198/1.256, allocations: 3.391 MB / 0.6419 GB, free: 133.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00543/1.262, allocations: 1.156 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.02273/1.285, allocations: 14.97 MB / 0.6576 GB, free: 121.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004699/1.289, allocations: 5.071 MB / 0.6626 GB, free: 117.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003879/1.293, allocations: 1.06 MB / 0.6636 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009271/1.294, allocations: 327.4 kB / 0.6639 GB, free: 116.3 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/1.294, allocations: 0 / 0.6639 GB, free: 116.3 MB / 446.1 MB Notification: Performance of Templates: time 0.09924/1.394, allocations: 68.69 MB / 0.731 GB, free: 47.56 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)