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.0009245/0.0009245, allocations: 119.8 kB / 21.19 MB, free: 4.359 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.0008719/0.0008719, allocations: 213.3 kB / 24.48 MB, free: 1.375 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.9762/0.9762, allocations: 230.6 MB / 258.2 MB, free: 3.18 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.1636/0.1636, allocations: 47.71 MB / 362.4 MB, free: 15.46 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.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.001949/0.001949, allocations: 95.84 kB / 0.4978 GB, free: 3.258 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2608, allocations: 66.22 MB / 0.5624 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01904/0.2798, allocations: 21.44 MB / 0.5834 GB, free: 8.148 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.2915, allocations: 7.097 MB / 0.5903 GB, free: 1.027 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003833/0.2953, allocations: 182.9 kB / 0.5905 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.3007, allocations: 1.591 MB / 0.592 GB, free: 15.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.3071, allocations: 2.349 MB / 0.5943 GB, free: 12.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.3105, allocations: 1.481 MB / 0.5958 GB, free: 11.41 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007697/0.3182, allocations: 7.272 MB / 0.6029 GB, free: 4.105 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004187/0.3224, allocations: 3.017 MB / 0.6058 GB, free: 1.004 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.3265, allocations: 3.306 MB / 0.6091 GB, free: 13.68 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005138/0.3317, allocations: 3.747 MB / 0.6127 GB, free: 9.918 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002146/0.3338, allocations: 0.8711 MB / 0.6136 GB, free: 9.047 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.3369, allocations: 1.276 MB / 0.6148 GB, free: 7.773 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002267/0.3392, allocations: 2.146 MB / 0.6169 GB, free: 5.621 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004855/0.3441, allocations: 3.03 MB / 0.6199 GB, free: 2.578 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.3558, allocations: 11.6 MB / 0.6312 GB, free: 6.934 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3558, allocations: 0 / 0.6312 GB, free: 6.934 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3558, allocations: 0 / 0.6312 GB, free: 6.934 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003777/0.3562, allocations: 0 / 0.6312 GB, free: 6.934 MB / 474.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.01579/0.3719, allocations: 7.563 MB / 0.6386 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.372, allocations: 8.031 kB / 0.6386 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004258/0.3763, allocations: 1.269 MB / 0.6398 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007458/0.3837, allocations: 4.1 MB / 0.6438 GB, free: 9.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.384, allocations: 427.8 kB / 0.6442 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.3856, allocations: 0.5586 MB / 0.6448 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.3988, allocations: 7.568 MB / 0.6522 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.399, allocations: 11.89 kB / 0.6522 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004617/0.3994, allocations: 236 kB / 0.6524 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/0.3996, allocations: 259.3 kB / 0.6527 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.4106, allocations: 6.123 MB / 0.6586 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.4435, allocations: 20.3 MB / 0.6785 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004853/0.4483, allocations: 3.916 MB / 0.6823 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/0.4511, allocations: 2.277 MB / 0.6845 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009151/0.4603, allocations: 5.642 MB / 0.69 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.4603, allocations: 60.56 kB / 0.6901 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=238): time 5.26e-06/0.4603, allocations: 0 / 0.6901 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282): time 0.2527/0.7131, allocations: 13.18 MB / 0.703 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.7131, allocations: 79.44 kB / 0.703 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/0.7177, allocations: 3.082 MB / 0.706 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004713/0.7182, allocations: 73.14 kB / 0.7061 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/0.7197, allocations: 2.788 MB / 0.7088 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008729/0.7206, allocations: 1.014 MB / 0.7098 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006882/0.7213, allocations: 0.648 MB / 0.7105 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.7213, allocations: 301.1 kB / 0.7107 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.7229, allocations: 1.547 MB / 0.7123 GB, free: 112 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.7249, allocations: 2.787 MB / 0.715 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/0.7286, allocations: 4.598 MB / 0.7195 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-05/0.7287, allocations: 15.38 kB / 0.7195 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.00624/0.7349, allocations: 5.312 MB / 0.7247 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.7349, allocations: 22.59 kB / 0.7247 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.092e-05/0.735, allocations: 38.78 kB / 0.7247 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009459/0.7359, allocations: 0.6844 MB / 0.7254 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.7376, allocations: 0.8562 MB / 0.7262 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/0.7432, allocations: 9.866 MB / 0.7359 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/0.7462, allocations: 225.1 kB / 0.7361 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/0.7466, allocations: 171.2 kB / 0.7362 GB, free: 93.55 MB / 0.5261 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.002759/0.7494, allocations: 1.634 MB / 0.7378 GB, free: 92.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008831/0.7502, allocations: 377.5 kB / 0.7382 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.7547, allocations: 4.257 MB / 0.7424 GB, free: 87.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/0.7547, allocations: 32 kB / 0.7424 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.7548, allocations: 8.125 kB / 0.7424 GB, free: 87.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.7548, allocations: 11.95 kB / 0.7424 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.7657, allocations: 8.364 MB / 0.7506 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.7657, allocations: 4 kB / 0.7506 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.7668, allocations: 0.4919 MB / 0.7511 GB, free: 78.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.7678, allocations: 0.7532 MB / 0.7518 GB, free: 77.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.768, allocations: 75.8 kB / 0.7519 GB, free: 77.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006562/0.7745, allocations: 13.38 MB / 0.7649 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7745, allocations: 11.94 kB / 0.7649 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006559/0.7811, allocations: 6.357 MB / 0.7712 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/0.7827, allocations: 0.6693 MB / 0.7718 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/0.7832, allocations: 67.92 kB / 0.7719 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.7842, allocations: 159.8 kB / 0.772 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.7845, allocations: 217.6 kB / 0.7722 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.7846, allocations: 87.97 kB / 0.7723 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002024/0.7867, allocations: 2.008 MB / 0.7743 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7867, allocations: 0 / 0.7743 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003615/0.7903, allocations: 1.094 MB / 0.7753 GB, free: 52.79 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.0006101/0.7909, allocations: 297.9 kB / 0.7756 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004785/0.7957, allocations: 4.375 MB / 0.7799 GB, free: 48.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.7957, allocations: 1 kB / 0.7799 GB, free: 48.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002642/0.7983, allocations: 2.732 MB / 0.7826 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/0.801, allocations: 0.7387 MB / 0.7833 GB, free: 44.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.8142, allocations: 10.6 MB / 0.7936 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.8163, allocations: 2.939 MB / 0.7965 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.8174, allocations: 279.4 kB / 0.7968 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/0.8174, allocations: 0 / 0.7968 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.3956/1.213, allocations: 241.1 MB / 1.032 GB, free: 165.6 MB / 0.6511 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: 12.089906222186983]