Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001134/0.001137, allocations: 116.2 kB / 17.07 MB, free: 6 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.001164/0.001164, allocations: 198.9 kB / 18 MB, free: 5.078 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.339/1.339, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001105/0.001105, allocations: 51.94 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08279/0.08391, allocations: 46.61 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2049/0.2889, allocations: 41.26 MB / 415.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02534/0.3143, allocations: 11.1 MB / 426.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01138/0.3257, allocations: 255.7 kB / 427.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01941/0.3451, allocations: 7.898 MB / 435 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01662/0.3618, allocations: 3.654 MB / 438.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008037/0.3698, allocations: 2.309 MB / 441 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02001/0.3899, allocations: 12.66 MB / 453.7 MB, free: 296 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03899/0.4289, allocations: 23.55 MB / 477.2 MB, free: 8.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.4412, allocations: 6.459 MB / 483.7 MB, free: 2.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01389/0.4551, allocations: 7.272 MB / 490.9 MB, free: 10.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007288/0.4625, allocations: 1.848 MB / 492.8 MB, free: 8.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008796/0.4713, allocations: 2.25 MB / 495 MB, free: 6.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006391/0.4777, allocations: 3.725 MB / 498.8 MB, free: 2.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01459/0.4923, allocations: 7.186 MB / 0.4941 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03496/0.5273, allocations: 24.18 MB / 0.5177 GB, free: 3.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5274, allocations: 4 kB / 0.5177 GB, free: 3.504 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5274, allocations: 0 / 0.5177 GB, free: 3.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006763/0.5281, allocations: 0 / 0.5177 GB, free: 3.504 MB / 446.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.04552/0.5736, allocations: 14.44 MB / 0.5318 GB, free: 4.945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5737, allocations: 12.03 kB / 0.5318 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03576/0.6094, allocations: 6.17 MB / 0.5378 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.6271, allocations: 7.08 MB / 0.5447 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007851/0.6279, allocations: 0.8429 MB / 0.5456 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003675/0.6316, allocations: 1.113 MB / 0.5467 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2391/0.8707, allocations: 17.16 MB / 0.5634 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003541/0.8711, allocations: 15.92 kB / 0.5634 GB, free: 134.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001976/0.8731, allocations: 467.6 kB / 0.5639 GB, free: 134.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006361/0.8737, allocations: 0.6154 MB / 0.5645 GB, free: 134.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03597/0.9097, allocations: 15.57 MB / 0.5797 GB, free: 128.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0755/0.9852, allocations: 57.87 MB / 0.6362 GB, free: 76.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/1.001, allocations: 20.89 MB / 0.6566 GB, free: 52.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004642/1.006, allocations: 3.299 MB / 0.6598 GB, free: 49.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/1.021, allocations: 9.537 MB / 0.6691 GB, free: 39.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.021, allocations: 68.72 kB / 0.6692 GB, free: 39.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=313): time 4.619e-06/1.021, allocations: 0 / 0.6692 GB, free: 39.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.03005/1.051, allocations: 16.79 MB / 0.6856 GB, free: 22.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/1.051, allocations: 112.4 kB / 0.6857 GB, free: 22.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007637/1.059, allocations: 5.404 MB / 0.691 GB, free: 17.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007239/1.059, allocations: 85.69 kB / 0.691 GB, free: 17.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003722/1.063, allocations: 5.346 MB / 0.6963 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001506/1.065, allocations: 1.204 MB / 0.6974 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002758/1.067, allocations: 1.345 MB / 0.6988 GB, free: 9.281 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.518e-05/1.067, allocations: 305.1 kB / 0.699 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00614/1.074, allocations: 2.746 MB / 0.7017 GB, free: 6.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008249/1.082, allocations: 5.803 MB / 0.7074 GB, free: 14.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01935/1.101, allocations: 8.962 MB / 0.7161 GB, free: 4.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/1.101, allocations: 28 kB / 0.7162 GB, free: 4.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01994/1.121, allocations: 9.671 MB / 0.7256 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.121, allocations: 56.03 kB / 0.7257 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/1.122, allocations: 108 kB / 0.7258 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/1.126, allocations: 0.924 MB / 0.7267 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008757/1.135, allocations: 1.579 MB / 0.7282 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.149, allocations: 10.53 MB / 0.7385 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006117/1.155, allocations: 431.2 kB / 0.7389 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/1.156, allocations: 360.1 kB / 0.7393 GB, free: 12.37 MB / 0.5137 GB 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.007524/1.164, allocations: 3.833 MB / 0.743 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/1.165, allocations: 0.5208 MB / 0.7435 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/1.177, allocations: 5.898 MB / 0.7493 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1922/1.369, allocations: 3.039 MB / 0.7522 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.721e-05/1.369, allocations: 10.91 kB / 0.7522 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.024e-05/1.369, allocations: 17.75 kB / 0.7523 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02716/1.396, allocations: 14.68 MB / 0.7666 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.396, allocations: 7.094 kB / 0.7666 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/1.399, allocations: 0.5953 MB / 0.7672 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002418/1.402, allocations: 0.894 MB / 0.7681 GB, free: 161 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003607/1.402, allocations: 78.31 kB / 0.7681 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/1.415, allocations: 14.03 MB / 0.7818 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.415, allocations: 5.156 kB / 0.7818 GB, free: 150.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.427, allocations: 8.514 MB / 0.7902 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/1.429, allocations: 0.9952 MB / 0.7911 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006492/1.43, allocations: 66.44 kB / 0.7912 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.432, allocations: 203.2 kB / 0.7914 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005477/1.433, allocations: 256.1 kB / 0.7916 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.433, allocations: 102 kB / 0.7917 GB, free: 146 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00534/1.439, allocations: 3.573 MB / 0.7952 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.42e-07/1.439, allocations: 0 / 0.7952 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006609/1.445, allocations: 1.824 MB / 0.797 GB, free: 144.6 MB / 0.5137 GB 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.0007144/1.446, allocations: 261.1 kB / 0.7972 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.456, allocations: 7.115 MB / 0.8042 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.456, allocations: 7.562 kB / 0.8042 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005855/1.462, allocations: 3.386 MB / 0.8075 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00583/1.468, allocations: 1.187 MB / 0.8087 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/1.494, allocations: 18.28 MB / 0.8265 GB, free: 124 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004934/1.499, allocations: 6.661 MB / 0.833 GB, free: 118.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004685/1.504, allocations: 1.937 MB / 0.8349 GB, free: 116.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009425/1.505, allocations: 391.3 kB / 0.8353 GB, free: 116.4 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/1.505, allocations: 0 / 0.8353 GB, free: 116.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.1034/1.608, allocations: 70.09 MB / 0.9037 GB, free: 46.37 MB / 0.5137 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)