Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.001425/0.001425, allocations: 88.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.001823/0.001823, allocations: 156.1 kB / 24.7 MB, free: 9.438 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 1.002/1.002, allocations: 177 MB / 204.9 MB, free: 5.715 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.2475/0.2475, allocations: 34.86 MB / 296.2 MB, free: 0.5 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.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 443.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.622e-05, allocations: 2.281 kB / 443.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.2001/0.2001, allocations: 10.5 MB / 454.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003998/0.2041, allocations: 3.776 MB / 457.9 MB, free: 34.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.2048, allocations: 80.12 kB / 458 MB, free: 34.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.206, allocations: 0.8574 MB / 458.9 MB, free: 34.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.2073, allocations: 1.074 MB / 459.9 MB, free: 33.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.208, allocations: 0.5379 MB / 460.5 MB, free: 33.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.2098, allocations: 3.587 MB / 464.1 MB, free: 31.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.2109, allocations: 1.493 MB / 465.6 MB, free: 30.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.2126, allocations: 2.305 MB / 467.9 MB, free: 29.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.2138, allocations: 1.685 MB / 469.6 MB, free: 29.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.2141, allocations: 408 kB / 470 MB, free: 29.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.2147, allocations: 0.6263 MB / 470.6 MB, free: 29.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000546/0.2153, allocations: 1.191 MB / 471.8 MB, free: 28.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007418/0.216, allocations: 1.271 MB / 473 MB, free: 27.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.2186, allocations: 5.463 MB / 478.5 MB, free: 25.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2186, allocations: 0 / 478.5 MB, free: 25.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2186, allocations: 0 / 478.5 MB, free: 25.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.2187, allocations: 0 / 478.5 MB, free: 25.93 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.003776/0.2224, allocations: 3.71 MB / 482.2 MB, free: 23.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2225, allocations: 9.031 kB / 482.2 MB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.2233, allocations: 486.3 kB / 482.7 MB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.2252, allocations: 1.927 MB / 484.6 MB, free: 22.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.2253, allocations: 200.8 kB / 484.8 MB, free: 22.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.2255, allocations: 273.6 kB / 485.1 MB, free: 22.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003994/0.2295, allocations: 3.642 MB / 488.7 MB, free: 20.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.195e-05/0.2296, allocations: 5.172 kB / 488.7 MB, free: 20.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.2298, allocations: 110.2 kB / 488.8 MB, free: 20.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.2299, allocations: 125.3 kB / 489 MB, free: 20.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.2335, allocations: 2.966 MB / 491.9 MB, free: 19.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009988/0.2435, allocations: 9.579 MB / 0.4898 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.2453, allocations: 1.5 MB / 0.4912 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.2466, allocations: 1.091 MB / 0.4923 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.2468, allocations: 52.61 kB / 0.4923 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.2469, allocations: 50.12 kB / 0.4924 GB, free: 13.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.527e-06/0.2469, allocations: 0 / 0.4924 GB, free: 13.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.009882/0.2567, allocations: 7.022 MB / 0.4992 GB, free: 10.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2568, allocations: 74.05 kB / 0.4993 GB, free: 10.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.2585, allocations: 1.836 MB / 0.5011 GB, free: 9.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/0.2586, allocations: 50.83 kB / 0.5012 GB, free: 9.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.259, allocations: 1.361 MB / 0.5025 GB, free: 8.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.2592, allocations: 0.5196 MB / 0.503 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.2596, allocations: 327 kB / 0.5033 GB, free: 7.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.525e-05/0.2596, allocations: 302.5 kB / 0.5036 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008299/0.2604, allocations: 0.89 MB / 0.5045 GB, free: 6.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009065/0.2613, allocations: 1.364 MB / 0.5058 GB, free: 4.898 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.2631, allocations: 2.389 MB / 0.5081 GB, free: 2.301 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2631, allocations: 4 kB / 0.5081 GB, free: 2.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002787/0.2659, allocations: 2.881 MB / 0.5109 GB, free: 15.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.2659, allocations: 12 kB / 0.511 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.2659, allocations: 19.94 kB / 0.511 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/0.2666, allocations: 462.5 kB / 0.5114 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.2675, allocations: 427.3 kB / 0.5118 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/0.2717, allocations: 5.778 MB / 0.5175 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009101/0.2726, allocations: 127.8 kB / 0.5176 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2727, allocations: 75.98 kB / 0.5177 GB, free: 8.312 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.2739, allocations: 0.8525 MB / 0.5185 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.2741, allocations: 206.7 kB / 0.5187 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.2769, allocations: 2.487 MB / 0.5211 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.2769, allocations: 19.98 kB / 0.5211 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2769, allocations: 11.88 kB / 0.5212 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.2769, allocations: 3.984 kB / 0.5212 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005555/0.2825, allocations: 4.843 MB / 0.5259 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2825, allocations: 4 kB / 0.5259 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.2831, allocations: 280 kB / 0.5262 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007295/0.2838, allocations: 0.4921 MB / 0.5266 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.2839, allocations: 45.91 kB / 0.5267 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004972/0.2889, allocations: 7.226 MB / 0.5337 GB, free: 7.418 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2889, allocations: 4 kB / 0.5337 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.2926, allocations: 3.741 MB / 0.5374 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/0.2932, allocations: 387.1 kB / 0.5378 GB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.2933, allocations: 39.98 kB / 0.5378 GB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.2939, allocations: 95.89 kB / 0.5379 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.2941, allocations: 125 kB / 0.538 GB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.2942, allocations: 43.98 kB / 0.5381 GB, free: 2.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001224/0.2954, allocations: 1.243 MB / 0.5393 GB, free: 1.695 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2954, allocations: 3.938 kB / 0.5393 GB, free: 1.691 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00142/0.2968, allocations: 0.5859 MB / 0.5398 GB, free: 1.105 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.0003383/0.2971, allocations: 227 kB / 0.5401 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.2998, allocations: 2.43 MB / 0.5424 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2998, allocations: 6 kB / 0.5424 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.3013, allocations: 1.545 MB / 0.5439 GB, free: 12.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.3025, allocations: 429.1 kB / 0.5444 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.3084, allocations: 5.553 MB / 0.5498 GB, free: 6.793 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.3096, allocations: 1.557 MB / 0.5513 GB, free: 5.199 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.31, allocations: 144.5 kB / 0.5514 GB, free: 5.059 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.31, allocations: 4 kB / 0.5514 GB, free: 5.055 MB / 458.7 MB Notification: Performance of Templates: time 0.05195/0.3619, allocations: 75.87 MB / 0.6255 GB, free: 9.227 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.375491376966238]