Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.001846/0.001846, allocations: 113.2 kB / 20.43 MB, free: 4.59 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.001882/0.001882, allocations: 213.3 kB / 23.73 MB, free: 2.129 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 1.706/1.706, allocations: 230.6 MB / 257.4 MB, free: 9.496 MB / 202.7 MB " [Timeout remaining time 178] 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.2683/0.2683, allocations: 47.7 MB / 361.6 MB, free: 2.395 MB / 282.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.005177/0.005177, allocations: 95.83 kB / 0.4978 GB, free: 6.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1418, allocations: 66.22 MB / 0.5624 GB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2528/0.3946, allocations: 21.44 MB / 0.5834 GB, free: 2.82 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.4108, allocations: 7.104 MB / 0.5903 GB, free: 13.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005449/0.4163, allocations: 182 kB / 0.5905 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005388/0.4217, allocations: 1.591 MB / 0.5921 GB, free: 12.87 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00941/0.4311, allocations: 2.355 MB / 0.5944 GB, free: 11.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004939/0.436, allocations: 1.486 MB / 0.5958 GB, free: 10.41 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.4484, allocations: 7.262 MB / 0.6029 GB, free: 6.656 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006028/0.4544, allocations: 3.022 MB / 0.6058 GB, free: 5.109 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00728/0.4617, allocations: 3.306 MB / 0.6091 GB, free: 3.457 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009932/0.4716, allocations: 3.74 MB / 0.6127 GB, free: 1.074 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.4737, allocations: 0.8708 MB / 0.6136 GB, free: 1.074 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.4783, allocations: 1.282 MB / 0.6148 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003148/0.4814, allocations: 2.144 MB / 0.6169 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007153/0.4886, allocations: 3.034 MB / 0.6199 GB, free: 13.16 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02185/0.5104, allocations: 11.6 MB / 0.6312 GB, free: 1.941 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5104, allocations: 0 / 0.6312 GB, free: 1.941 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5104, allocations: 0 / 0.6312 GB, free: 1.941 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002386/0.5107, allocations: 0 / 0.6312 GB, free: 1.941 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02777/0.5384, allocations: 7.559 MB / 0.6386 GB, free: 10.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5385, allocations: 12.03 kB / 0.6386 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006339/0.5448, allocations: 1.265 MB / 0.6398 GB, free: 9.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.5554, allocations: 4.093 MB / 0.6438 GB, free: 4.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004776/0.5559, allocations: 431.8 kB / 0.6443 GB, free: 4.438 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/0.5576, allocations: 0.5588 MB / 0.6448 GB, free: 3.879 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.5728, allocations: 7.576 MB / 0.6522 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.5729, allocations: 7.953 kB / 0.6522 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000681/0.5736, allocations: 232 kB / 0.6524 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003283/0.5739, allocations: 263.3 kB / 0.6527 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.5869, allocations: 6.115 MB / 0.6586 GB, free: 5.566 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04458/0.6315, allocations: 20.32 MB / 0.6785 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007941/0.6394, allocations: 3.911 MB / 0.6823 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004925/0.6444, allocations: 2.281 MB / 0.6845 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01471/0.6591, allocations: 5.638 MB / 0.69 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/0.6591, allocations: 60.5 kB / 0.6901 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=238): time 5.66e-06/0.6592, allocations: 0 / 0.6901 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of matching and sorting (n=282): time 0.0395/0.6987, allocations: 13.19 MB / 0.703 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.6987, allocations: 81.59 kB / 0.7031 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006611/0.7053, allocations: 3.078 MB / 0.7061 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000479/0.7058, allocations: 73.7 kB / 0.7061 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/0.7086, allocations: 2.79 MB / 0.7089 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/0.7099, allocations: 1.019 MB / 0.7099 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.7114, allocations: 0.6453 MB / 0.7105 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7116, allocations: 305.1 kB / 0.7108 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/0.7149, allocations: 1.541 MB / 0.7123 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004432/0.7193, allocations: 2.785 MB / 0.715 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008124/0.7275, allocations: 4.598 MB / 0.7195 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-05/0.7275, allocations: 16 kB / 0.7195 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01153/0.739, allocations: 5.311 MB / 0.7247 GB, free: 184 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.7391, allocations: 20.66 kB / 0.7247 GB, free: 164 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.89e-05/0.7392, allocations: 47.98 kB / 0.7248 GB, free: 116 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.7412, allocations: 0.6739 MB / 0.7254 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/0.7448, allocations: 0.8541 MB / 0.7263 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.7585, allocations: 9.881 MB / 0.7359 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/0.7621, allocations: 231.6 kB / 0.7361 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006864/0.7628, allocations: 172 kB / 0.7363 GB, free: 3.891 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 4 systems {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004131/0.7669, allocations: 1.625 MB / 0.7379 GB, free: 2.254 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/0.7682, allocations: 373.7 kB / 0.7382 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.7784, allocations: 4.258 MB / 0.7424 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.697e-05/0.7785, allocations: 39.97 kB / 0.7424 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/0.7785, allocations: 8 kB / 0.7424 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-05/0.7786, allocations: 15.95 kB / 0.7424 GB, free: 13.49 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/0.8005, allocations: 8.353 MB / 0.7506 GB, free: 4.957 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.8005, allocations: 8 kB / 0.7506 GB, free: 4.949 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/0.8029, allocations: 0.4915 MB / 0.7511 GB, free: 4.457 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.8051, allocations: 0.7486 MB / 0.7518 GB, free: 3.691 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/0.8054, allocations: 71.97 kB / 0.7519 GB, free: 3.621 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.8228, allocations: 13.4 MB / 0.765 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.8228, allocations: 7.938 kB / 0.765 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.8364, allocations: 6.343 MB / 0.7712 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/0.8387, allocations: 0.6771 MB / 0.7718 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009121/0.8396, allocations: 63.98 kB / 0.7719 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/0.842, allocations: 159.8 kB / 0.7721 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005963/0.8426, allocations: 225.5 kB / 0.7723 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/0.8429, allocations: 87.97 kB / 0.7724 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.004744/0.8476, allocations: 2.012 MB / 0.7743 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.8476, allocations: 0 / 0.7743 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004715/0.8523, allocations: 1.097 MB / 0.7754 GB, free: 10.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (235): * Single equations (assignments): 225 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007855/0.8531, allocations: 278.6 kB / 0.7757 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009255/0.8624, allocations: 4.383 MB / 0.7799 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.8624, allocations: 4 kB / 0.7799 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005559/0.868, allocations: 2.727 MB / 0.7826 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/0.8726, allocations: 0.7379 MB / 0.7833 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/0.895, allocations: 10.59 MB / 0.7937 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005317/0.9003, allocations: 3.021 MB / 0.7966 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003199/0.9035, allocations: 0.8066 MB / 0.7974 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009554/0.9044, allocations: 243.4 kB / 0.7976 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.9044, allocations: 0 / 0.7976 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of Templates: time 0.3338/1.238, allocations: 52.86 MB / 0.8493 GB, free: 168.9 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.615094513166696]