Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 120.6 kB / 21.19 MB, free: 4.391 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 217.3 kB / 24.48 MB, free: 1.391 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9528/0.9528, allocations: 230.6 MB / 258.2 MB, free: 3.102 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1763/0.1763, allocations: 47.7 MB / 362.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=151000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=151000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 103.8 kB / 0.4978 GB, free: 3.219 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3343, allocations: 66.22 MB / 0.5625 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03175/0.366, allocations: 35.9 MB / 0.5975 GB, free: 9.617 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02645/0.3925, allocations: 11.06 MB / 0.6083 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008602/0.4011, allocations: 362.1 kB / 0.6087 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.4129, allocations: 7.435 MB / 0.6159 GB, free: 6.703 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.4244, allocations: 3.67 MB / 0.6195 GB, free: 3.016 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.4305, allocations: 2.287 MB / 0.6217 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.4459, allocations: 12.63 MB / 0.6341 GB, free: 4.062 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0286/0.4745, allocations: 15.53 MB / 0.6492 GB, free: 4.383 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/0.4859, allocations: 6.525 MB / 0.6556 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.4979, allocations: 6.901 MB / 0.6623 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.005965/0.5038, allocations: 1.824 MB / 0.6641 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007731/0.5116, allocations: 2.238 MB / 0.6663 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.006815/0.5184, allocations: 3.655 MB / 0.6699 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01211/0.5305, allocations: 5.545 MB / 0.6753 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0277/0.5582, allocations: 24.22 MB / 0.6989 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5582, allocations: 0 / 0.6989 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5582, allocations: 4 kB / 0.6989 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008648/0.5591, allocations: 0 / 0.6989 GB, free: 1.32 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.3146/0.8736, allocations: 14.42 MB / 0.713 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.8737, allocations: 12.03 kB / 0.713 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.891, allocations: 5.214 MB / 0.7181 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/0.9058, allocations: 7.742 MB / 0.7257 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008865/0.9067, allocations: 0.8264 MB / 0.7265 GB, free: 96.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005006/0.9117, allocations: 1.093 MB / 0.7276 GB, free: 95.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03458/0.9463, allocations: 16.83 MB / 0.744 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003726/0.9467, allocations: 11.94 kB / 0.744 GB, free: 78.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003184/0.9499, allocations: 463.2 kB / 0.7445 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003187/0.9502, allocations: 0.5813 MB / 0.745 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/0.9737, allocations: 14.73 MB / 0.7594 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06833/1.042, allocations: 47.58 MB / 0.8059 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/1.052, allocations: 7.542 MB / 0.8132 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004016/1.056, allocations: 3.027 MB / 0.8162 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/1.07, allocations: 8.197 MB / 0.8242 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/1.07, allocations: 69.56 kB / 0.8243 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=313): time 5.701e-06/1.07, allocations: 0 / 0.8243 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=340): time 0.02719/1.097, allocations: 16.31 MB / 0.8402 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/1.097, allocations: 112.4 kB / 0.8403 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007458/1.104, allocations: 4.986 MB / 0.8452 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007194/1.105, allocations: 89.62 kB / 0.8453 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002816/1.108, allocations: 5.387 MB / 0.8505 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001326/1.109, allocations: 1.251 MB / 0.8517 GB, free: 28 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/1.111, allocations: 1.275 MB / 0.853 GB, free: 14.74 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/1.111, allocations: 301.1 kB / 0.8533 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/1.115, allocations: 2.636 MB / 0.8558 GB, free: 11.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/1.12, allocations: 5.494 MB / 0.8612 GB, free: 4.961 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008719/1.128, allocations: 8.522 MB / 0.8695 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.359e-05/1.128, allocations: 24 kB / 0.8696 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01288/1.141, allocations: 9.139 MB / 0.8785 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/1.141, allocations: 44 kB / 0.8785 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/1.142, allocations: 99.98 kB / 0.8786 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/1.143, allocations: 0.9169 MB / 0.8795 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/1.147, allocations: 1.474 MB / 0.881 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008846/1.156, allocations: 10 MB / 0.8907 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/1.16, allocations: 395.4 kB / 0.8911 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.161, allocations: 343.9 kB / 0.8914 GB, free: 4.359 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * 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 (767): * Single equations (assignments): 762 * 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.006944/1.168, allocations: 3.755 MB / 0.8951 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.169, allocations: 0.4968 MB / 0.8956 GB, free: 92 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007674/1.177, allocations: 5.67 MB / 0.9011 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003546/1.181, allocations: 3.041 MB / 0.9041 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-05/1.181, allocations: 8 kB / 0.9041 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/1.181, allocations: 19.94 kB / 0.9041 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/1.201, allocations: 11.98 MB / 0.9158 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.201, allocations: 12.56 kB / 0.9158 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.203, allocations: 0.5968 MB / 0.9164 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/1.204, allocations: 0.8944 MB / 0.9173 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.204, allocations: 87.91 kB / 0.9174 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/1.215, allocations: 13.21 MB / 0.9303 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.215, allocations: 8 kB / 0.9303 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/1.226, allocations: 8.332 MB / 0.9384 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/1.228, allocations: 0.8949 MB / 0.9393 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007566/1.228, allocations: 68 kB / 0.9394 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/1.23, allocations: 195.7 kB / 0.9395 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/1.23, allocations: 266.4 kB / 0.9398 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/1.231, allocations: 108 kB / 0.9399 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004621/1.235, allocations: 3.173 MB / 0.943 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/1.235, allocations: 0 / 0.943 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.008168/1.243, allocations: 1.762 MB / 0.9447 GB, free: 12.93 MB / 0.6667 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.001092/1.245, allocations: 270.8 kB / 0.945 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.256, allocations: 6.536 MB / 0.9514 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.256, allocations: 192 / 0.9514 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005135/1.261, allocations: 3.2 MB / 0.9545 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005616/1.267, allocations: 1.042 MB / 0.9555 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5085/1.775, allocations: 18 MB / 0.9731 GB, free: 230.9 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007266/1.782, allocations: 5.958 MB / 0.9789 GB, free: 229.7 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/1.784, allocations: 445.3 kB / 0.9793 GB, free: 229.7 MB / 0.6668 GB Notification: Performance of SimCode: time 2.515e-06/1.784, allocations: 0 / 0.9793 GB, free: 229.7 MB / 0.6668 GB Notification: Performance of Templates: time 0.5864/2.371, allocations: 395.6 MB / 1.366 GB, free: 103.4 MB / 0.6824 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.540605634916574]