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.002338/0.002338, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.003176/0.003176, allocations: 168.8 kB / 23.95 MB, free: 0.6016 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.612/1.612, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.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.4061/0.4061, allocations: 34.87 MB / 295.4 MB, free: 0.5312 MB / 266.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.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.754e-06/1.754e-06, allocations: 0 / 443.6 MB, free: 424 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.248e-05, allocations: 2.281 kB / 443.6 MB, free: 420 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.2394/0.2394, allocations: 10.51 MB / 454.1 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.2467, allocations: 3.773 MB / 457.9 MB, free: 34.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.2486, allocations: 79.41 kB / 458 MB, free: 34.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2505, allocations: 0.8495 MB / 458.8 MB, free: 34.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.2535, allocations: 1.063 MB / 459.9 MB, free: 33.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2545, allocations: 0.5398 MB / 460.4 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003143/0.2577, allocations: 3.583 MB / 464 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.2596, allocations: 1.493 MB / 465.5 MB, free: 30.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.2631, allocations: 2.311 MB / 467.8 MB, free: 29.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.266, allocations: 1.681 MB / 469.5 MB, free: 29.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007392/0.2668, allocations: 408.1 kB / 469.9 MB, free: 29.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.2681, allocations: 0.6247 MB / 470.5 MB, free: 28.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009196/0.269, allocations: 1.196 MB / 471.7 MB, free: 28.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.2706, allocations: 1.268 MB / 473 MB, free: 27.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.2754, allocations: 5.459 MB / 478.4 MB, free: 25.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2754, allocations: 3.938 kB / 478.4 MB, free: 25.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2754, allocations: 0 / 478.4 MB, free: 25.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001358/0.2755, allocations: 4 kB / 478.4 MB, free: 25.74 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.007395/0.2829, allocations: 3.691 MB / 482.1 MB, free: 23.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2829, allocations: 11.97 kB / 482.1 MB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.2849, allocations: 491.3 kB / 482.6 MB, free: 23.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.2878, allocations: 1.912 MB / 484.5 MB, free: 22.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.2879, allocations: 209.9 kB / 484.7 MB, free: 22.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.2883, allocations: 269.3 kB / 485 MB, free: 22.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005881/0.2942, allocations: 3.653 MB / 488.7 MB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.709e-05/0.2942, allocations: 7.234 kB / 488.7 MB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.2945, allocations: 107.8 kB / 488.8 MB, free: 20.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.2946, allocations: 124.7 kB / 488.9 MB, free: 20.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005445/0.3, allocations: 2.963 MB / 491.9 MB, free: 19.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/0.3166, allocations: 9.57 MB / 0.4897 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.3193, allocations: 1.498 MB / 0.4911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.3214, allocations: 1.094 MB / 0.4922 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.3216, allocations: 57.86 kB / 0.4923 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3217, allocations: 52.91 kB / 0.4923 GB, free: 13.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.657e-06/0.3217, allocations: 0 / 0.4923 GB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.01771/0.3394, allocations: 7.009 MB / 0.4992 GB, free: 10.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3394, allocations: 70.94 kB / 0.4992 GB, free: 10.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.3426, allocations: 1.837 MB / 0.501 GB, free: 9.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.3428, allocations: 47.2 kB / 0.5011 GB, free: 9.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/0.3436, allocations: 1.354 MB / 0.5024 GB, free: 7.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.3441, allocations: 0.5183 MB / 0.5029 GB, free: 7.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/0.3445, allocations: 329.9 kB / 0.5032 GB, free: 7.137 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.3446, allocations: 301.1 kB / 0.5035 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.3459, allocations: 0.89 MB / 0.5044 GB, free: 5.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.3472, allocations: 1.364 MB / 0.5057 GB, free: 4.383 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.35, allocations: 2.389 MB / 0.508 GB, free: 1.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.35, allocations: 4 kB / 0.508 GB, free: 1.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00531/0.3553, allocations: 2.884 MB / 0.5108 GB, free: 14.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.3553, allocations: 12.38 kB / 0.5109 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/0.3553, allocations: 23.94 kB / 0.5109 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.3566, allocations: 454.1 kB / 0.5113 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.3584, allocations: 435.3 kB / 0.5117 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008185/0.3666, allocations: 5.77 MB / 0.5174 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.3686, allocations: 132.3 kB / 0.5175 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/0.3688, allocations: 76.86 kB / 0.5176 GB, free: 7.789 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.001915/0.3708, allocations: 0.8486 MB / 0.5184 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005951/0.3714, allocations: 206.7 kB / 0.5186 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/0.3766, allocations: 2.495 MB / 0.521 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/0.3766, allocations: 16 kB / 0.521 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.3767, allocations: 5.688 kB / 0.521 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.3767, allocations: 7.969 kB / 0.521 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.3878, allocations: 4.845 MB / 0.5258 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.3878, allocations: 4 kB / 0.5258 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.3891, allocations: 279.5 kB / 0.5261 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.3905, allocations: 498.2 kB / 0.5265 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.3906, allocations: 43.97 kB / 0.5266 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009994/0.4006, allocations: 7.234 MB / 0.5336 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.4006, allocations: 8 kB / 0.5336 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007796/0.4084, allocations: 3.729 MB / 0.5373 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.4099, allocations: 402.4 kB / 0.5377 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/0.4102, allocations: 35.98 kB / 0.5377 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.4113, allocations: 95.89 kB / 0.5378 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/0.4117, allocations: 129 kB / 0.5379 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4118, allocations: 47.98 kB / 0.538 GB, free: 2.398 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002305/0.4141, allocations: 1.239 MB / 0.5392 GB, free: 1.168 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4141, allocations: 0 / 0.5392 GB, free: 1.168 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002524/0.4166, allocations: 0.582 MB / 0.5397 GB, free: 0.5859 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.0005509/0.4172, allocations: 222.9 kB / 0.54 GB, free: 364 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005367/0.4225, allocations: 2.439 MB / 0.5423 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.4226, allocations: 0 / 0.5423 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003276/0.4258, allocations: 1.541 MB / 0.5438 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.4284, allocations: 426.7 kB / 0.5442 GB, free: 11.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.4403, allocations: 5.516 MB / 0.5496 GB, free: 6.324 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002291/0.4426, allocations: 1.576 MB / 0.5512 GB, free: 4.711 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001842/0.4444, allocations: 451.5 kB / 0.5516 GB, free: 4.266 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.4449, allocations: 132.5 kB / 0.5517 GB, free: 4.137 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4449, allocations: 0 / 0.5517 GB, free: 4.137 MB / 458.7 MB Notification: Performance of Templates: time 0.05834/0.5032, allocations: 29.49 MB / 0.5805 GB, free: 6.98 MB / 490.7 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.7899253440555185]