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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001008/0.001008, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.27/1.27, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001109/0.001109, allocations: 47.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2319, allocations: 46.64 MB / 324.9 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04145/0.2734, allocations: 40.52 MB / 365.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02135/0.2948, allocations: 10.91 MB / 376.3 MB, free: 492 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007164/0.3019, allocations: 243.2 kB / 376.5 MB, free: 248 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01652/0.3185, allocations: 7.401 MB / 383.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.3295, allocations: 3.269 MB / 387.2 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006119/0.3357, allocations: 2.12 MB / 389.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01585/0.3515, allocations: 12.68 MB / 402 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03567/0.3872, allocations: 26.32 MB / 428.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008887/0.3962, allocations: 6.411 MB / 434.8 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.4065, allocations: 7.311 MB / 442.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004521/0.4111, allocations: 1.844 MB / 443.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006788/0.4179, allocations: 2.265 MB / 446.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005696/0.4236, allocations: 3.713 MB / 449.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1715/0.5951, allocations: 7.192 MB / 457.1 MB, free: 44.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02328/0.6185, allocations: 24.01 MB / 481.1 MB, free: 39.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6185, allocations: 0 / 481.1 MB, free: 39.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6185, allocations: 0 / 481.1 MB, free: 39.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005976/0.6191, allocations: 6.766 kB / 481.1 MB, free: 39.95 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.04067/0.6598, allocations: 14.47 MB / 495.6 MB, free: 33.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6599, allocations: 10.09 kB / 495.6 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03299/0.6929, allocations: 6.15 MB / 0.49 GB, free: 31.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.7081, allocations: 6.972 MB / 0.4968 GB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007525/0.7089, allocations: 0.8516 MB / 0.4976 GB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00442/0.7133, allocations: 1.107 MB / 0.4987 GB, free: 26.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0397/0.753, allocations: 17.19 MB / 0.5155 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003415/0.7534, allocations: 15.8 kB / 0.5155 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003046/0.7565, allocations: 474.9 kB / 0.5159 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004539/0.7569, allocations: 0.6091 MB / 0.5165 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/0.7886, allocations: 15.59 MB / 0.5318 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/0.896, allocations: 58.59 MB / 0.589 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02118/0.9172, allocations: 20.93 MB / 0.6094 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006218/0.9235, allocations: 3.367 MB / 0.6127 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2018/1.125, allocations: 9.689 MB / 0.6222 GB, free: 174.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/1.125, allocations: 68.41 kB / 0.6222 GB, free: 174.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=319): time 6.984e-06/1.125, allocations: 0 / 0.6222 GB, free: 174.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=346): time 0.02952/1.155, allocations: 16.92 MB / 0.6388 GB, free: 168.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.155, allocations: 111.7 kB / 0.6389 GB, free: 168.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006935/1.162, allocations: 5.429 MB / 0.6442 GB, free: 166.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005187/1.162, allocations: 81.33 kB / 0.6442 GB, free: 166.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/1.165, allocations: 5.328 MB / 0.6494 GB, free: 162.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.166, allocations: 1.23 MB / 0.6507 GB, free: 161.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/1.168, allocations: 1.347 MB / 0.652 GB, free: 160.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/1.168, allocations: 305.1 kB / 0.6523 GB, free: 160.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/1.172, allocations: 2.79 MB / 0.655 GB, free: 158.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004788/1.176, allocations: 5.841 MB / 0.6607 GB, free: 151.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009339/1.186, allocations: 9.05 MB / 0.6695 GB, free: 142 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.415e-05/1.186, allocations: 33.31 kB / 0.6696 GB, free: 142 MB / 478.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.015/1.201, allocations: 9.775 MB / 0.6791 GB, free: 133.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/1.201, allocations: 48 kB / 0.6791 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/1.201, allocations: 104 kB / 0.6792 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/1.203, allocations: 0.9477 MB / 0.6802 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005353/1.209, allocations: 1.58 MB / 0.6817 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/1.219, allocations: 10.62 MB / 0.6921 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006755/1.226, allocations: 435.1 kB / 0.6925 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.228, allocations: 367.9 kB / 0.6929 GB, free: 120 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.006318/1.234, allocations: 3.825 MB / 0.6966 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.235, allocations: 0.5209 MB / 0.6971 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009087/1.244, allocations: 5.992 MB / 0.7029 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004118/1.248, allocations: 3.131 MB / 0.706 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/1.249, allocations: 12 kB / 0.706 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-05/1.249, allocations: 15.94 kB / 0.706 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02572/1.274, allocations: 14.84 MB / 0.7205 GB, free: 91.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.274, allocations: 7.938 kB / 0.7205 GB, free: 91.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.277, allocations: 0.5974 MB / 0.7211 GB, free: 90.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002276/1.279, allocations: 0.9213 MB / 0.722 GB, free: 89.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/1.28, allocations: 75.98 kB / 0.7221 GB, free: 89.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.292, allocations: 14.14 MB / 0.7359 GB, free: 75.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.292, allocations: 4 kB / 0.7359 GB, free: 75.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/1.304, allocations: 8.666 MB / 0.7444 GB, free: 66.19 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/1.307, allocations: 1.002 MB / 0.7453 GB, free: 65.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.308, allocations: 68 kB / 0.7454 GB, free: 65.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003116/1.311, allocations: 199.8 kB / 0.7456 GB, free: 64.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/1.312, allocations: 266.4 kB / 0.7459 GB, free: 64.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/1.312, allocations: 104 kB / 0.746 GB, free: 64.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006061/1.318, allocations: 3.583 MB / 0.7495 GB, free: 60.97 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.318, allocations: 0 / 0.7495 GB, free: 60.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008583/1.327, allocations: 1.83 MB / 0.7512 GB, free: 59.15 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.001103/1.328, allocations: 271.7 kB / 0.7515 GB, free: 58.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01625/1.344, allocations: 9.152 MB / 0.7604 GB, free: 49.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.344, allocations: 4.438 kB / 0.7604 GB, free: 49.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005148/1.35, allocations: 3.451 MB / 0.7638 GB, free: 46.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006536/1.356, allocations: 1.176 MB / 0.765 GB, free: 45.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/1.391, allocations: 23.26 MB / 0.7877 GB, free: 21.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008226/1.399, allocations: 6.661 MB / 0.7942 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006233/1.405, allocations: 1.941 MB / 0.7961 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.406, allocations: 387.4 kB / 0.7964 GB, free: 12.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.383e-06/1.406, allocations: 3.938 kB / 0.7964 GB, free: 12.66 MB / 478.1 MB Notification: Performance of Templates: time 0.2888/1.695, allocations: 74.98 MB / 0.8697 GB, free: 108.2 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)