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.001144/0.001144, 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.001287/0.001287, allocations: 195.5 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.352/1.352, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001409/0.001409, allocations: 55.92 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2471, allocations: 46.62 MB / 325.3 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04109/0.2882, allocations: 41.27 MB / 366.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02239/0.3107, allocations: 11.08 MB / 377.7 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007612/0.3183, allocations: 255.2 kB / 377.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01876/0.3371, allocations: 7.901 MB / 385.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.3497, allocations: 3.651 MB / 389.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007046/0.3568, allocations: 2.303 MB / 391.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.3735, allocations: 12.58 MB / 404.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03641/0.4099, allocations: 23.67 MB / 428 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009126/0.4191, allocations: 6.412 MB / 434.4 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.4297, allocations: 7.295 MB / 441.7 MB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004704/0.4344, allocations: 1.844 MB / 443.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006467/0.4409, allocations: 2.257 MB / 445.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005229/0.4461, allocations: 3.725 MB / 449.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1804/0.6266, allocations: 7.189 MB / 456.8 MB, free: 42.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02527/0.6519, allocations: 24.03 MB / 480.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.6519, allocations: 0 / 480.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.652, allocations: 0 / 480.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006726/0.6526, allocations: 2.219 kB / 480.8 MB, free: 38.61 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.04386/0.6965, allocations: 14.47 MB / 495.3 MB, free: 32.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6966, allocations: 7.438 kB / 495.3 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03511/0.7317, allocations: 6.147 MB / 0.4897 GB, free: 29.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.7469, allocations: 7.047 MB / 0.4965 GB, free: 26.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006581/0.7476, allocations: 0.8513 MB / 0.4974 GB, free: 26.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004235/0.7519, allocations: 1.117 MB / 0.4985 GB, free: 25.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0341/0.786, allocations: 17.17 MB / 0.5152 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003523/0.7864, allocations: 15.66 kB / 0.5152 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003304/0.7897, allocations: 468.9 kB / 0.5157 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004887/0.7902, allocations: 0.6052 MB / 0.5163 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03384/0.824, allocations: 15.56 MB / 0.5315 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09615/0.9202, allocations: 58.56 MB / 0.5887 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/0.9404, allocations: 20.88 MB / 0.6091 GB, free: 5.309 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005795/0.9462, allocations: 3.327 MB / 0.6123 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1932/1.139, allocations: 9.552 MB / 0.6216 GB, free: 174 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/1.14, allocations: 68.14 kB / 0.6217 GB, free: 174 MB / 478.1 MB Notification: Performance of pre-optimization done (n=313): time 5.681e-06/1.14, allocations: 0 / 0.6217 GB, free: 174 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.03216/1.172, allocations: 16.78 MB / 0.6381 GB, free: 167.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.172, allocations: 116.1 kB / 0.6382 GB, free: 167.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007331/1.179, allocations: 5.406 MB / 0.6435 GB, free: 165.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005106/1.18, allocations: 81.11 kB / 0.6436 GB, free: 165.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002198/1.182, allocations: 5.337 MB / 0.6488 GB, free: 161.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009563/1.183, allocations: 1.206 MB / 0.6499 GB, free: 160.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/1.185, allocations: 1.345 MB / 0.6513 GB, free: 159.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.204e-05/1.185, allocations: 308.9 kB / 0.6515 GB, free: 159.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/1.188, allocations: 2.746 MB / 0.6542 GB, free: 158 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/1.193, allocations: 5.798 MB / 0.6599 GB, free: 151.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008368/1.201, allocations: 8.964 MB / 0.6686 GB, free: 141.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.584e-05/1.201, allocations: 28 kB / 0.6687 GB, free: 141.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.0136/1.215, allocations: 9.687 MB / 0.6781 GB, free: 132.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/1.215, allocations: 49.31 kB / 0.6782 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/1.215, allocations: 104 kB / 0.6783 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/1.217, allocations: 0.9354 MB / 0.6792 GB, free: 131.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005013/1.222, allocations: 1.58 MB / 0.6807 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009999/1.232, allocations: 10.54 MB / 0.691 GB, free: 120.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/1.238, allocations: 435.1 kB / 0.6914 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008982/1.239, allocations: 369.2 kB / 0.6918 GB, free: 119.7 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 (818): * Single equations (assignments): 813 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.006183/1.245, allocations: 3.825 MB / 0.6955 GB, free: 115.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.247, allocations: 0.517 MB / 0.696 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009373/1.256, allocations: 5.902 MB / 0.7018 GB, free: 109.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004017/1.26, allocations: 3.045 MB / 0.7048 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/1.26, allocations: 12 kB / 0.7048 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.241e-05/1.26, allocations: 15.94 kB / 0.7048 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/1.281, allocations: 14.68 MB / 0.7191 GB, free: 91.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.281, allocations: 11.94 kB / 0.7191 GB, free: 91.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/1.284, allocations: 0.5937 MB / 0.7197 GB, free: 90.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/1.286, allocations: 0.9097 MB / 0.7206 GB, free: 90.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/1.286, allocations: 79.97 kB / 0.7207 GB, free: 89.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/1.297, allocations: 14.03 MB / 0.7344 GB, free: 75.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.297, allocations: 8.062 kB / 0.7344 GB, free: 75.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.309, allocations: 8.501 MB / 0.7427 GB, free: 66.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/1.311, allocations: 0.9918 MB / 0.7437 GB, free: 65.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000788/1.312, allocations: 68 kB / 0.7437 GB, free: 65.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.315, allocations: 199.8 kB / 0.7439 GB, free: 65.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/1.315, allocations: 266.4 kB / 0.7442 GB, free: 64.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/1.315, allocations: 100.2 kB / 0.7443 GB, free: 64.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004973/1.32, allocations: 3.571 MB / 0.7478 GB, free: 61.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.32, allocations: 4 kB / 0.7478 GB, free: 61.33 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008011/1.328, allocations: 1.826 MB / 0.7496 GB, free: 59.51 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 (298): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006574/1.329, allocations: 271.7 kB / 0.7498 GB, free: 59.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0161/1.345, allocations: 8.954 MB / 0.7586 GB, free: 50.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.345, allocations: 0 / 0.7586 GB, free: 50.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005037/1.35, allocations: 3.392 MB / 0.7619 GB, free: 46.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006056/1.356, allocations: 1.185 MB / 0.763 GB, free: 45.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03113/1.387, allocations: 18.5 MB / 0.7811 GB, free: 27.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007762/1.395, allocations: 6.657 MB / 0.7876 GB, free: 20.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006108/1.401, allocations: 1.949 MB / 0.7895 GB, free: 18.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.402, allocations: 387.4 kB / 0.7899 GB, free: 18.05 MB / 478.1 MB Notification: Performance of SimCode: time 1.382e-06/1.402, allocations: 0 / 0.7899 GB, free: 18.05 MB / 478.1 MB Notification: Performance of Templates: time 0.3356/1.738, allocations: 74.13 MB / 0.8623 GB, free: 113.7 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)