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.0008702/0.0008702, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.001329/0.001329, allocations: 167 kB / 24.99 MB, free: 8.242 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.9794/0.9794, allocations: 177 MB / 205.2 MB, free: 5.613 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.2635/0.2635, allocations: 34.86 MB / 296.6 MB, free: 492 kB / 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.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 1.342e-06/1.342e-06, allocations: 0 / 378.1 MB, free: 3.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.394e-05, allocations: 4.844 kB / 378.1 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03135/0.03137, allocations: 41.04 MB / 419.1 MB, free: 9.832 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02286/0.05423, allocations: 11.31 MB / 430.4 MB, free: 14.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008434/0.06266, allocations: 358.1 kB / 430.8 MB, free: 14.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.07492, allocations: 8.407 MB / 439.2 MB, free: 5.684 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.08737, allocations: 3.77 MB / 443 MB, free: 1.891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1807/0.2681, allocations: 2.336 MB / 445.3 MB, free: 47.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.2819, allocations: 13.09 MB / 458.4 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02087/0.3028, allocations: 15.59 MB / 474 MB, free: 39.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01506/0.3179, allocations: 9.735 MB / 483.7 MB, free: 35.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.3304, allocations: 6.802 MB / 490.5 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006354/0.3368, allocations: 1.823 MB / 492.3 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007562/0.3443, allocations: 2.251 MB / 494.6 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005813/0.3501, allocations: 3.785 MB / 498.4 MB, free: 30.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01135/0.3615, allocations: 4.833 MB / 0.4914 GB, free: 28.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01842/0.3799, allocations: 11.66 MB / 0.5028 GB, free: 23.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3799, allocations: 5.438 kB / 0.5028 GB, free: 23.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3799, allocations: 0 / 0.5028 GB, free: 23.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006926/0.3806, allocations: 0 / 0.5028 GB, free: 23.24 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: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.03252/0.4131, allocations: 15.18 MB / 0.5176 GB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.4132, allocations: 12.03 kB / 0.5176 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/0.4332, allocations: 6.791 MB / 0.5243 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.4482, allocations: 7.426 MB / 0.5315 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007452/0.4489, allocations: 0.8338 MB / 0.5323 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004073/0.453, allocations: 1.088 MB / 0.5334 GB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0243/0.4773, allocations: 9.323 MB / 0.5425 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.4775, allocations: 15.52 kB / 0.5425 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/0.479, allocations: 457.6 kB / 0.543 GB, free: 7.156 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004469/0.4794, allocations: 0.5812 MB / 0.5435 GB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.4933, allocations: 4.855 MB / 0.5483 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06231/0.5556, allocations: 45.12 MB / 0.5923 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009944/0.5655, allocations: 6.45 MB / 0.5986 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.5683, allocations: 1.568 MB / 0.6002 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.5791, allocations: 5.967 MB / 0.606 GB, free: 7.004 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.5792, allocations: 72.38 kB / 0.6061 GB, free: 6.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=313): time 5.39e-06/0.5792, allocations: 0 / 0.6061 GB, free: 6.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=340): time 0.1999/0.7791, allocations: 11 MB / 0.6168 GB, free: 148.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.7792, allocations: 118.7 kB / 0.6169 GB, free: 148.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005497/0.7847, allocations: 4.453 MB / 0.6213 GB, free: 148.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005493/0.7852, allocations: 78.8 kB / 0.6213 GB, free: 148.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002117/0.7873, allocations: 5.62 MB / 0.6268 GB, free: 145.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009274/0.7883, allocations: 1.267 MB / 0.6281 GB, free: 144.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.7896, allocations: 1.38 MB / 0.6294 GB, free: 144.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.7897, allocations: 487.5 kB / 0.6299 GB, free: 143.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.7912, allocations: 0.883 MB / 0.6307 GB, free: 143.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/0.7939, allocations: 5.092 MB / 0.6357 GB, free: 138.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004913/0.7988, allocations: 6.504 MB / 0.6421 GB, free: 133 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.465e-05/0.7989, allocations: 28.97 kB / 0.6421 GB, free: 133 MB / 490.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.008546/0.8074, allocations: 5.84 MB / 0.6478 GB, free: 131.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.8075, allocations: 44.72 kB / 0.6478 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.8076, allocations: 98.38 kB / 0.6479 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.8093, allocations: 0.8002 MB / 0.6487 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/0.8125, allocations: 1.468 MB / 0.6501 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006965/0.8194, allocations: 8.908 MB / 0.6588 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/0.8237, allocations: 392.2 kB / 0.6592 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008365/0.8246, allocations: 340.5 kB / 0.6595 GB, free: 124.1 MB / 490.7 MB 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.003055/0.8276, allocations: 0.5948 MB / 0.6601 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.8288, allocations: 0.6075 MB / 0.6607 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.8342, allocations: 3.332 MB / 0.664 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002225/0.8364, allocations: 1.501 MB / 0.6654 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-05/0.8365, allocations: 12.42 kB / 0.6654 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/0.8365, allocations: 18.25 kB / 0.6655 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/0.8538, allocations: 10.48 MB / 0.6757 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.8538, allocations: 4.625 kB / 0.6757 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.8553, allocations: 0.5852 MB / 0.6763 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/0.8571, allocations: 0.7572 MB / 0.677 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.8573, allocations: 86.7 kB / 0.6771 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007226/0.8645, allocations: 13.06 MB / 0.6899 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8645, allocations: 11.72 kB / 0.6899 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/0.8714, allocations: 4.32 MB / 0.6941 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/0.8735, allocations: 0.848 MB / 0.6949 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/0.8739, allocations: 70.23 kB / 0.695 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.8751, allocations: 180 kB / 0.6952 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005046/0.8757, allocations: 276.1 kB / 0.6954 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.8758, allocations: 108.5 kB / 0.6955 GB, free: 103 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003011/0.8788, allocations: 2.146 MB / 0.6976 GB, free: 102.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8788, allocations: 4 kB / 0.6976 GB, free: 102.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005851/0.8847, allocations: 1.764 MB / 0.6993 GB, free: 102.1 MB / 490.7 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.0005496/0.8852, allocations: 268.7 kB / 0.6996 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006188/0.8914, allocations: 4.318 MB / 0.7038 GB, free: 99.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8914, allocations: 0 / 0.7038 GB, free: 99.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002778/0.8942, allocations: 2.508 MB / 0.7063 GB, free: 97.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/0.8979, allocations: 1.087 MB / 0.7073 GB, free: 96.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/0.9189, allocations: 15.51 MB / 0.7225 GB, free: 81.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003855/0.9228, allocations: 5.479 MB / 0.7278 GB, free: 77.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/0.9243, allocations: 446.3 kB / 0.7282 GB, free: 77.23 MB / 490.7 MB Notification: Performance of SimCode: time 2.154e-06/0.9243, allocations: 0 / 0.7282 GB, free: 77.23 MB / 490.7 MB Notification: Performance of Templates: time 0.545/1.469, allocations: 394.7 MB / 1.114 GB, free: 69.5 MB / 0.4948 GB " [Timeout remaining time 659] 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: 6.7848846421111375]