Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00109/0.00109, 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.001071/0.001071, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.338/1.338, allocations: 205.1 MB / 222 MB, free: 5 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.001162/0.001162, allocations: 51.94 kB / 278.1 MB, free: 12.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1981, allocations: 46.63 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03793/0.236, allocations: 40.53 MB / 365.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.2576, allocations: 10.95 MB / 376.2 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009763/0.2674, allocations: 247.2 kB / 376.4 MB, free: 264 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01739/0.2848, allocations: 7.385 MB / 383.8 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.2965, allocations: 3.308 MB / 387.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006475/0.303, allocations: 2.124 MB / 389.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0155/0.3185, allocations: 12.71 MB / 402 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03011/0.3486, allocations: 19.24 MB / 421.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008699/0.3574, allocations: 5.513 MB / 426.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.3676, allocations: 6.893 MB / 433.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003838/0.3715, allocations: 1.188 MB / 434.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005467/0.377, allocations: 1.597 MB / 436.4 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003359/0.3804, allocations: 3.045 MB / 439.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01011/0.3905, allocations: 6.51 MB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2165/0.607, allocations: 23.56 MB / 469.5 MB, free: 44.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.607, allocations: 3.031 kB / 469.5 MB, free: 44.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6071, allocations: 0 / 469.5 MB, free: 44.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006648/0.6077, allocations: 0 / 469.5 MB, free: 44.18 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.04805/0.6558, allocations: 14.48 MB / 484 MB, free: 37.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6558, allocations: 10.34 kB / 484 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.6901, allocations: 6.144 MB / 490.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/0.706, allocations: 6.972 MB / 497.1 MB, free: 33.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009568/0.707, allocations: 0.8503 MB / 498 MB, free: 33.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005134/0.7121, allocations: 1.109 MB / 499.1 MB, free: 33.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04549/0.7576, allocations: 17.2 MB / 0.5042 GB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006473/0.7583, allocations: 22.91 kB / 0.5042 GB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004695/0.763, allocations: 464 kB / 0.5046 GB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005355/0.7636, allocations: 0.6052 MB / 0.5052 GB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.7957, allocations: 15.59 MB / 0.5204 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1435/0.9392, allocations: 58.58 MB / 0.5777 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02176/0.961, allocations: 20.93 MB / 0.5981 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006079/0.9671, allocations: 3.382 MB / 0.6014 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01924/0.9864, allocations: 9.68 MB / 0.6109 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/0.9865, allocations: 73.55 kB / 0.6109 GB, free: 448 kB / 478.1 MB Notification: Performance of pre-optimization done (n=319): time 5.32e-06/0.9865, allocations: 3.938 kB / 0.6109 GB, free: 444 kB / 478.1 MB Notification: Performance of matching and sorting (n=346): time 0.2076/1.194, allocations: 16.91 MB / 0.6274 GB, free: 172.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/1.194, allocations: 111.4 kB / 0.6275 GB, free: 172.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006297/1.201, allocations: 5.413 MB / 0.6328 GB, free: 170.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003293/1.201, allocations: 84.58 kB / 0.6329 GB, free: 170.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00202/1.203, allocations: 5.336 MB / 0.6381 GB, free: 166.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007402/1.204, allocations: 1.223 MB / 0.6393 GB, free: 165.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/1.205, allocations: 1.349 MB / 0.6406 GB, free: 165.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.534e-05/1.205, allocations: 305.1 kB / 0.6409 GB, free: 164.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/1.209, allocations: 2.791 MB / 0.6436 GB, free: 163.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/1.213, allocations: 5.85 MB / 0.6494 GB, free: 158.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008032/1.221, allocations: 9.044 MB / 0.6582 GB, free: 148.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.228e-05/1.221, allocations: 32 kB / 0.6582 GB, free: 148.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.0139/1.235, allocations: 9.78 MB / 0.6678 GB, free: 140.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/1.235, allocations: 48.5 kB / 0.6678 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/1.235, allocations: 108 kB / 0.6679 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/1.238, allocations: 0.935 MB / 0.6688 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004978/1.243, allocations: 1.577 MB / 0.6704 GB, free: 137.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009834/1.252, allocations: 9.789 MB / 0.6799 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/1.258, allocations: 425 kB / 0.6803 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.259, allocations: 367.7 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.007142/1.267, allocations: 3.838 MB / 0.6844 GB, free: 124.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/1.268, allocations: 0.5131 MB / 0.6849 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.279, allocations: 5.998 MB / 0.6908 GB, free: 117.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004387/1.283, allocations: 3.131 MB / 0.6939 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/1.283, allocations: 15.69 kB / 0.6939 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.634e-05/1.283, allocations: 15.94 kB / 0.6939 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/1.31, allocations: 14.85 MB / 0.7084 GB, free: 99.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/1.311, allocations: 4 kB / 0.7084 GB, free: 99.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/1.313, allocations: 0.5968 MB / 0.709 GB, free: 99.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/1.316, allocations: 0.9137 MB / 0.7099 GB, free: 98.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004266/1.316, allocations: 75.98 kB / 0.7099 GB, free: 98.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.328, allocations: 12.89 MB / 0.7225 GB, free: 84.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.328, allocations: 8 kB / 0.7225 GB, free: 84.56 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.342, allocations: 8.683 MB / 0.731 GB, free: 75.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003005/1.345, allocations: 1.006 MB / 0.732 GB, free: 74.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001804/1.347, allocations: 68.55 kB / 0.7321 GB, free: 74.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003461/1.35, allocations: 203.8 kB / 0.7323 GB, free: 74.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007767/1.351, allocations: 258.5 kB / 0.7325 GB, free: 74.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000388/1.351, allocations: 99.98 kB / 0.7326 GB, free: 74.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006713/1.358, allocations: 3.587 MB / 0.7361 GB, free: 70.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.2e-07/1.358, allocations: 0 / 0.7361 GB, free: 70.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008976/1.367, allocations: 1.838 MB / 0.7379 GB, free: 68.65 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.0008737/1.368, allocations: 276.6 kB / 0.7382 GB, free: 68.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01124/1.379, allocations: 7.182 MB / 0.7452 GB, free: 61.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/1.379, allocations: 4.312 kB / 0.7452 GB, free: 61.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0057/1.385, allocations: 3.449 MB / 0.7485 GB, free: 57.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007969/1.393, allocations: 1.122 MB / 0.7496 GB, free: 56.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03545/1.429, allocations: 23.24 MB / 0.7723 GB, free: 33.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007256/1.436, allocations: 6.66 MB / 0.7788 GB, free: 26.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005511/1.441, allocations: 1.933 MB / 0.7807 GB, free: 24.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.442, allocations: 383.4 kB / 0.7811 GB, free: 24.22 MB / 478.1 MB Notification: Performance of SimCode: time 2.375e-06/1.442, allocations: 0 / 0.7811 GB, free: 24.22 MB / 478.1 MB Notification: Performance of Templates: time 0.2755/1.718, allocations: 72.35 MB / 0.8517 GB, free: 120.6 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)