Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001198, allocations: 108 kB / 15.6 MB, free: 132 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.001193/0.001194, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.46/1.46, 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.001324/0.001324, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2089, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.02745/0.2364, allocations: 24.04 MB / 349.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.2506, allocations: 7.109 MB / 356.5 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004051/0.2547, allocations: 127.5 kB / 356.6 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.2594, allocations: 1.575 MB / 358.2 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007729/0.2671, allocations: 2.275 MB / 360.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.2715, allocations: 1.462 MB / 361.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009743/0.2812, allocations: 7.185 MB / 369.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007432/0.2887, allocations: 5.471 MB / 374.6 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005347/0.2941, allocations: 3.177 MB / 377.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005993/0.3001, allocations: 3.814 MB / 381.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002132/0.3023, allocations: 0.875 MB / 382.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.3057, allocations: 1.312 MB / 383.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002104/0.3078, allocations: 2.127 MB / 385.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005098/0.3129, allocations: 3.78 MB / 389.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.3235, allocations: 11.36 MB / 401 MB, free: 7.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3236, allocations: 4 kB / 401 MB, free: 7.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3236, allocations: 0 / 401 MB, free: 7.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000223/0.3238, allocations: 0 / 401 MB, free: 7.898 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.0167/0.3405, allocations: 7.415 MB / 408.4 MB, free: 408 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3406, allocations: 12.03 kB / 408.4 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005631/0.3462, allocations: 1.227 MB / 409.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007499/0.3538, allocations: 3.876 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.3542, allocations: 440 kB / 414 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.3553, allocations: 0.5622 MB / 414.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.3681, allocations: 7.272 MB / 421.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.3683, allocations: 19.83 kB / 421.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004959/0.3688, allocations: 228 kB / 422 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/0.369, allocations: 259.3 kB / 422.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.3794, allocations: 6.107 MB / 428.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/0.4172, allocations: 23.68 MB / 452.1 MB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1804/0.5976, allocations: 8.718 MB / 460.8 MB, free: 98.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0063/0.604, allocations: 2.379 MB / 463.2 MB, free: 98.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/0.6167, allocations: 6.946 MB / 470.1 MB, free: 95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.6168, allocations: 60.5 kB / 470.2 MB, free: 94.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 5.951e-06/0.6168, allocations: 7.438 kB / 470.2 MB, free: 94.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=282): time 0.0301/0.6469, allocations: 13.71 MB / 483.9 MB, free: 88.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.647, allocations: 81.47 kB / 484 MB, free: 88.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.6514, allocations: 3.424 MB / 487.4 MB, free: 86.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003829/0.6518, allocations: 69.7 kB / 487.5 MB, free: 86.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.653, allocations: 2.685 MB / 490.2 MB, free: 83.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006343/0.6536, allocations: 0.9646 MB / 491.1 MB, free: 82.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007869/0.6544, allocations: 0.6443 MB / 491.8 MB, free: 82.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.6545, allocations: 301.1 kB / 492.1 MB, free: 81.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.6567, allocations: 1.538 MB / 493.6 MB, free: 80.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.6592, allocations: 2.767 MB / 496.4 MB, free: 76.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004795/0.664, allocations: 4.599 MB / 0.4892 GB, free: 71.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/0.6641, allocations: 12 kB / 0.4892 GB, free: 71.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.008221/0.6723, allocations: 5.479 MB / 0.4946 GB, free: 66.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.6724, allocations: 20 kB / 0.4946 GB, free: 66.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-05/0.6724, allocations: 40 kB / 0.4946 GB, free: 66.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.6739, allocations: 0.6613 MB / 0.4953 GB, free: 65.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.6767, allocations: 0.8696 MB / 0.4961 GB, free: 64.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/0.6844, allocations: 10.37 MB / 0.5063 GB, free: 53.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/0.6881, allocations: 223.5 kB / 0.5065 GB, free: 53.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.6885, allocations: 164 kB / 0.5066 GB, free: 53.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (430): * Single equations (assignments): 420 * Array equations: 4 * 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 {(3,12,100.0%), (1,3,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002759/0.6913, allocations: 1.625 MB / 0.5082 GB, free: 51.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008518/0.6921, allocations: 387.4 kB / 0.5086 GB, free: 51.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006642/0.6988, allocations: 4.506 MB / 0.513 GB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/0.6989, allocations: 35.78 kB / 0.513 GB, free: 46.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.6989, allocations: 8 kB / 0.513 GB, free: 46.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.6989, allocations: 15.94 kB / 0.5131 GB, free: 46.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.713, allocations: 9.917 MB / 0.5227 GB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.713, allocations: 4 kB / 0.5227 GB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/0.715, allocations: 0.5034 MB / 0.5232 GB, free: 36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.7167, allocations: 0.7269 MB / 0.5239 GB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.7169, allocations: 67.97 kB / 0.524 GB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.727, allocations: 14.13 MB / 0.5378 GB, free: 20.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.727, allocations: 11.94 kB / 0.5378 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00958/0.7366, allocations: 6.597 MB / 0.5443 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/0.739, allocations: 0.7771 MB / 0.545 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008374/0.7398, allocations: 63.98 kB / 0.5451 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/0.7419, allocations: 167.7 kB / 0.5452 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000533/0.7425, allocations: 205.8 kB / 0.5454 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.7426, allocations: 87.97 kB / 0.5455 GB, free: 12.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003247/0.7459, allocations: 2.302 MB / 0.5478 GB, free: 9.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7459, allocations: 3.938 kB / 0.5478 GB, free: 9.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004691/0.7506, allocations: 1.096 MB / 0.5488 GB, free: 8.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (238): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007682/0.7514, allocations: 271.7 kB / 0.5491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01341/0.7648, allocations: 6.664 MB / 0.5556 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.7649, allocations: 4 kB / 0.5556 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004325/0.7692, allocations: 2.834 MB / 0.5584 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004404/0.7736, allocations: 0.9041 MB / 0.5593 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.7914, allocations: 10.56 MB / 0.5696 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/0.7946, allocations: 3.503 MB / 0.573 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003044/0.7977, allocations: 0.8601 MB / 0.5738 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/0.7984, allocations: 263.3 kB / 0.5741 GB, free: 14.53 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7984, allocations: 3.938 kB / 0.5741 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Templates: time 0.2622/1.061, allocations: 53.68 MB / 0.6265 GB, free: 126.3 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1)