Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001162/0.001162, allocations: 191.8 kB / 16.14 MB, free: 6.715 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.303/1.303, allocations: 205.1 MB / 222 MB, free: 4.758 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.001199/0.001199, allocations: 51.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1922, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03765/0.2299, allocations: 40.52 MB / 365.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.2513, allocations: 10.96 MB / 376.2 MB, free: 484 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007157/0.2585, allocations: 247.1 kB / 376.4 MB, free: 236 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01666/0.2752, allocations: 7.381 MB / 383.8 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.2867, allocations: 3.304 MB / 387.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005485/0.2922, allocations: 2.132 MB / 389.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01432/0.3065, allocations: 12.71 MB / 402 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02589/0.3324, allocations: 19.23 MB / 421.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007863/0.3403, allocations: 5.513 MB / 426.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009846/0.3502, allocations: 6.904 MB / 433.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003039/0.3533, allocations: 1.188 MB / 434.8 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/0.3574, allocations: 1.597 MB / 436.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002595/0.36, allocations: 3.037 MB / 439.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008342/0.3683, allocations: 6.503 MB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1841/0.5524, allocations: 23.58 MB / 469.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5525, allocations: 0 / 469.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5525, allocations: 0 / 469.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008595/0.5534, allocations: 2.656 kB / 469.5 MB, free: 44.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.04047/0.5939, allocations: 14.47 MB / 484 MB, free: 37.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5939, allocations: 13.2 kB / 484 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03321/0.6271, allocations: 6.149 MB / 490.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/0.6424, allocations: 6.976 MB / 497.1 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009941/0.6434, allocations: 0.8449 MB / 498 MB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005152/0.6486, allocations: 1.114 MB / 499.1 MB, free: 33.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03997/0.6886, allocations: 17.18 MB / 0.5042 GB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004313/0.689, allocations: 19.8 kB / 0.5042 GB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003324/0.6924, allocations: 474 kB / 0.5046 GB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004537/0.6928, allocations: 0.6052 MB / 0.5052 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/0.7196, allocations: 15.58 MB / 0.5204 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09236/0.812, allocations: 58.59 MB / 0.5777 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/0.8308, allocations: 20.94 MB / 0.5981 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005338/0.8362, allocations: 3.365 MB / 0.6014 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0173/0.8535, allocations: 9.696 MB / 0.6109 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.8536, allocations: 65.56 kB / 0.6109 GB, free: 396 kB / 478.1 MB Notification: Performance of pre-optimization done (n=319): time 4.739e-06/0.8536, allocations: 0 / 0.6109 GB, free: 396 kB / 478.1 MB Notification: Performance of matching and sorting (n=346): time 0.2073/1.061, allocations: 16.92 MB / 0.6274 GB, free: 172.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/1.061, allocations: 111.5 kB / 0.6276 GB, free: 172.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008025/1.069, allocations: 5.416 MB / 0.6328 GB, free: 170.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005851/1.07, allocations: 81.45 kB / 0.6329 GB, free: 170.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002306/1.072, allocations: 5.333 MB / 0.6381 GB, free: 166.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.073, allocations: 1.225 MB / 0.6393 GB, free: 165.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/1.075, allocations: 1.353 MB / 0.6406 GB, free: 165 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.271e-05/1.075, allocations: 305.1 kB / 0.6409 GB, free: 164.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003885/1.079, allocations: 2.79 MB / 0.6437 GB, free: 163.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004901/1.084, allocations: 5.83 MB / 0.6494 GB, free: 158.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008866/1.093, allocations: 9.062 MB / 0.6582 GB, free: 148.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-05/1.093, allocations: 28 kB / 0.6582 GB, free: 148.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01491/1.108, allocations: 9.779 MB / 0.6678 GB, free: 140 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/1.108, allocations: 48 kB / 0.6678 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/1.108, allocations: 104 kB / 0.6679 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/1.11, allocations: 0.9362 MB / 0.6688 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004908/1.115, allocations: 1.58 MB / 0.6704 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009534/1.125, allocations: 9.781 MB / 0.6799 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006304/1.131, allocations: 436.9 kB / 0.6804 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.132, allocations: 360.9 kB / 0.6807 GB, free: 127.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * 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 (821): * Single equations (assignments): 813 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006979/1.139, allocations: 3.844 MB / 0.6845 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.141, allocations: 0.517 MB / 0.685 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009249/1.15, allocations: 5.983 MB / 0.6908 GB, free: 117.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004091/1.154, allocations: 3.131 MB / 0.6939 GB, free: 114.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/1.154, allocations: 8 kB / 0.6939 GB, free: 114.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.012e-05/1.154, allocations: 15.94 kB / 0.6939 GB, free: 114.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0211/1.175, allocations: 14.85 MB / 0.7084 GB, free: 99.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.175, allocations: 4 kB / 0.7084 GB, free: 99.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.178, allocations: 0.5974 MB / 0.709 GB, free: 99.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/1.18, allocations: 0.9174 MB / 0.7099 GB, free: 98.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/1.18, allocations: 79.98 kB / 0.7099 GB, free: 98.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.191, allocations: 12.89 MB / 0.7225 GB, free: 84.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.191, allocations: 4 kB / 0.7225 GB, free: 84.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.202, allocations: 8.671 MB / 0.731 GB, free: 75.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/1.205, allocations: 1.01 MB / 0.732 GB, free: 74.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009779/1.206, allocations: 71.98 kB / 0.7321 GB, free: 74.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.208, allocations: 195.8 kB / 0.7322 GB, free: 74.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/1.209, allocations: 266.5 kB / 0.7325 GB, free: 74.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/1.209, allocations: 93.41 kB / 0.7326 GB, free: 73.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004406/1.214, allocations: 3.591 MB / 0.7361 GB, free: 70.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.214, allocations: 0 / 0.7361 GB, free: 70.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006668/1.22, allocations: 1.838 MB / 0.7379 GB, free: 68.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006294/1.221, allocations: 274.9 kB / 0.7382 GB, free: 68.31 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01001/1.231, allocations: 7.186 MB / 0.7452 GB, free: 61.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.231, allocations: 0 / 0.7452 GB, free: 61.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004966/1.236, allocations: 3.454 MB / 0.7485 GB, free: 57.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005749/1.242, allocations: 1.121 MB / 0.7496 GB, free: 56.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/1.271, allocations: 23.24 MB / 0.7723 GB, free: 33.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005092/1.276, allocations: 6.661 MB / 0.7788 GB, free: 26.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005404/1.282, allocations: 1.938 MB / 0.7807 GB, free: 24.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.283, allocations: 387.4 kB / 0.7811 GB, free: 24.13 MB / 478.1 MB Notification: Performance of SimCode: time 9.41e-07/1.283, allocations: 0 / 0.7811 GB, free: 24.13 MB / 478.1 MB Notification: Performance of Templates: time 0.2637/1.546, allocations: 72.34 MB / 0.8517 GB, free: 120.2 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)