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.001587/0.001587, allocations: 92.28 kB / 21.44 MB, free: 3.105 MB / 18.57 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.001809/0.001809, allocations: 150 kB / 24.69 MB, free: 8.918 MB / 18.57 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.9574/0.9574, allocations: 177 MB / 204.9 MB, free: 5.691 MB / 186.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.2753/0.2753, allocations: 34.86 MB / 296.2 MB, free: 0.5117 MB / 266.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.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 1.282e-06/1.282e-06, allocations: 0 / 443.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.277e-05, allocations: 2.281 kB / 443.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.169/0.169, allocations: 21.46 MB / 465.1 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1794, allocations: 7.106 MB / 472.2 MB, free: 25.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/0.1828, allocations: 182.5 kB / 472.4 MB, free: 25.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.186, allocations: 1.598 MB / 474 MB, free: 24.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.1912, allocations: 2.427 MB / 476.4 MB, free: 22.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.1939, allocations: 1.483 MB / 477.9 MB, free: 21.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006442/0.2003, allocations: 7.58 MB / 485.5 MB, free: 17.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/0.2036, allocations: 3.038 MB / 488.6 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005997/0.2096, allocations: 4.844 MB / 493.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00421/0.2138, allocations: 3.23 MB / 496.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.2156, allocations: 0.8734 MB / 497.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.2192, allocations: 1.281 MB / 498.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.2215, allocations: 2.194 MB / 0.4892 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005704/0.2272, allocations: 2.592 MB / 0.4918 GB, free: 9.863 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.2395, allocations: 11.66 MB / 0.5032 GB, free: 4.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2395, allocations: 1.312 kB / 0.5032 GB, free: 4.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2395, allocations: 0 / 0.5032 GB, free: 4.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003476/0.2398, allocations: 0 / 0.5032 GB, free: 4.383 MB / 410.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.01573/0.2556, allocations: 7.483 MB / 0.5105 GB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2556, allocations: 8.625 kB / 0.5105 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004041/0.2597, allocations: 1.276 MB / 0.5117 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007499/0.2672, allocations: 4.102 MB / 0.5157 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.2674, allocations: 431.8 kB / 0.5161 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009053/0.2683, allocations: 0.5588 MB / 0.5167 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.2789, allocations: 7.561 MB / 0.5241 GB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.279, allocations: 20.91 kB / 0.5241 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003953/0.2794, allocations: 228 kB / 0.5243 GB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.2795, allocations: 263.3 kB / 0.5246 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007698/0.2872, allocations: 6.115 MB / 0.5305 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02456/0.3118, allocations: 20.32 MB / 0.5504 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.3163, allocations: 3.924 MB / 0.5542 GB, free: 3.309 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.3189, allocations: 2.291 MB / 0.5564 GB, free: 1.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008733/0.3276, allocations: 5.648 MB / 0.562 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.3277, allocations: 60.56 kB / 0.562 GB, free: 11.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 3.967e-06/0.3277, allocations: 0 / 0.562 GB, free: 11.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=282): time 0.02073/0.3484, allocations: 13.18 MB / 0.5749 GB, free: 14.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3485, allocations: 89.47 kB / 0.575 GB, free: 13.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/0.3521, allocations: 3.078 MB / 0.578 GB, free: 10.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.3522, allocations: 73.69 kB / 0.578 GB, free: 10.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.3536, allocations: 2.786 MB / 0.5808 GB, free: 7.965 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005783/0.3542, allocations: 0.9954 MB / 0.5817 GB, free: 6.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006965/0.3549, allocations: 0.6375 MB / 0.5824 GB, free: 6.316 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.355, allocations: 305.1 kB / 0.5827 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.3568, allocations: 1.545 MB / 0.5842 GB, free: 4.469 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.3592, allocations: 2.785 MB / 0.5869 GB, free: 1.145 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004412/0.3636, allocations: 4.591 MB / 0.5914 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/0.3636, allocations: 12 kB / 0.5914 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.006835/0.3704, allocations: 5.312 MB / 0.5966 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.3705, allocations: 23.94 kB / 0.5966 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.883e-05/0.3705, allocations: 40 kB / 0.5966 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.3716, allocations: 0.6873 MB / 0.5973 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.3733, allocations: 0.8541 MB / 0.5981 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/0.3803, allocations: 9.875 MB / 0.6078 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.3829, allocations: 231.8 kB / 0.608 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.3831, allocations: 172 kB / 0.6082 GB, free: 10.3 MB / 0.5105 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.002825/0.3859, allocations: 1.621 MB / 0.6097 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/0.3866, allocations: 373.7 kB / 0.6101 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/0.3917, allocations: 4.262 MB / 0.6143 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/0.3917, allocations: 28 kB / 0.6143 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3917, allocations: 15.94 kB / 0.6143 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.3917, allocations: 15.95 kB / 0.6143 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.4024, allocations: 8.349 MB / 0.6225 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4024, allocations: 4 kB / 0.6225 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.4036, allocations: 0.496 MB / 0.623 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.4047, allocations: 0.7489 MB / 0.6237 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.4048, allocations: 67.97 kB / 0.6238 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.194/0.5988, allocations: 13.37 MB / 0.6368 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5988, allocations: 8.312 kB / 0.6368 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00703/0.6059, allocations: 6.34 MB / 0.643 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.6074, allocations: 0.6771 MB / 0.6437 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/0.6078, allocations: 66.34 kB / 0.6437 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6088, allocations: 159.9 kB / 0.6439 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/0.6092, allocations: 216.5 kB / 0.6441 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.6093, allocations: 89.97 kB / 0.6442 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002174/0.6115, allocations: 2.01 MB / 0.6461 GB, free: 143 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6115, allocations: 3.844 kB / 0.6461 GB, free: 143 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003046/0.6145, allocations: 1.091 MB / 0.6472 GB, free: 142.9 MB / 0.5261 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.0005604/0.6151, allocations: 292.8 kB / 0.6475 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004663/0.6197, allocations: 4.38 MB / 0.6518 GB, free: 141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6197, allocations: 0 / 0.6518 GB, free: 141 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.6223, allocations: 2.727 MB / 0.6544 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.625, allocations: 0.7396 MB / 0.6552 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.6387, allocations: 10.37 MB / 0.6653 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/0.6415, allocations: 2.932 MB / 0.6681 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.6426, allocations: 280.3 kB / 0.6684 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.503e-06/0.6426, allocations: 0 / 0.6684 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.3085/0.9512, allocations: 241.1 MB / 0.9039 GB, free: 153.8 MB / 0.5573 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.087005259934813]