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.0009204/0.0009204, allocations: 75.7 kB / 21.69 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.0008559/0.0008559, allocations: 166.6 kB / 24.99 MB, free: 9.328 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.9393/0.9393, allocations: 177 MB / 205.2 MB, free: 5.133 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.2438/0.2438, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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=20500,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=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.209e-05, allocations: 2.312 kB / 378.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01283/0.01286, allocations: 11.77 MB / 390.6 MB, free: 6.543 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00636/0.01922, allocations: 3.932 MB / 394.5 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.02097, allocations: 79.5 kB / 394.6 MB, free: 2.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.02289, allocations: 0.8622 MB / 395.5 MB, free: 1.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.02542, allocations: 1.067 MB / 396.5 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.02649, allocations: 0.5381 MB / 397.1 MB, free: 36 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003408/0.02989, allocations: 3.591 MB / 400.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.03155, allocations: 1.495 MB / 402.2 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.03486, allocations: 2.331 MB / 404.5 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.03746, allocations: 1.82 MB / 406.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008608/0.03832, allocations: 408 kB / 406.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.03935, allocations: 0.6167 MB / 407.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007899/0.04014, allocations: 1.211 MB / 408.5 MB, free: 4.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.04167, allocations: 1.282 MB / 409.8 MB, free: 3.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002972/0.04464, allocations: 3.056 MB / 412.9 MB, free: 132 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.04465, allocations: 0 / 412.9 MB, free: 132 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04465, allocations: 0 / 412.9 MB, free: 132 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.401e-05/0.04469, allocations: 0 / 412.9 MB, free: 132 kB / 378.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.004148/0.04884, allocations: 3.914 MB / 416.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.04888, allocations: 8.031 kB / 416.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.05032, allocations: 0.69 MB / 417.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.05228, allocations: 1.816 MB / 419.3 MB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.05238, allocations: 201.5 kB / 419.5 MB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.05263, allocations: 279.9 kB / 419.8 MB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.05531, allocations: 2.202 MB / 422 MB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.05536, allocations: 7.938 kB / 422 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.05552, allocations: 112 kB / 422.1 MB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.05562, allocations: 125.2 kB / 422.2 MB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.05741, allocations: 0.9989 MB / 423.2 MB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009068/0.06648, allocations: 9.192 MB / 432.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.06759, allocations: 0.8309 MB / 433.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/0.06837, allocations: 0.5471 MB / 433.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.06854, allocations: 57.27 kB / 433.8 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.06857, allocations: 54.7 kB / 433.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.488e-06/0.06858, allocations: 0 / 433.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.005913/0.07449, allocations: 3.692 MB / 437.6 MB, free: 6.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.07453, allocations: 72.66 kB / 437.7 MB, free: 6.707 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.07619, allocations: 1.607 MB / 439.3 MB, free: 5.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.07625, allocations: 49.7 kB / 439.3 MB, free: 5.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/0.07691, allocations: 1.444 MB / 440.8 MB, free: 3.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.0772, allocations: 0.5424 MB / 441.3 MB, free: 3.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.07753, allocations: 337.1 kB / 441.6 MB, free: 2.691 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.07762, allocations: 476.8 kB / 442.1 MB, free: 2.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.07808, allocations: 275.8 kB / 442.4 MB, free: 1.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/0.07883, allocations: 0.9635 MB / 443.3 MB, free: 0.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1525/0.2313, allocations: 1.37 MB / 444.7 MB, free: 96.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.2314, allocations: 2.688 kB / 444.7 MB, free: 96.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003101/0.2345, allocations: 1.628 MB / 446.3 MB, free: 96.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.2345, allocations: 14.16 kB / 446.3 MB, free: 96.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.2345, allocations: 16.81 kB / 446.4 MB, free: 96.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009371/0.2354, allocations: 314.8 kB / 446.7 MB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.2365, allocations: 419.2 kB / 447.1 MB, free: 96.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.2399, allocations: 5.105 MB / 452.2 MB, free: 92.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.241, allocations: 121.7 kB / 452.3 MB, free: 92.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.2411, allocations: 74.25 kB / 452.4 MB, free: 92.74 MB / 410.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.0006244/0.2418, allocations: 266.9 kB / 452.6 MB, free: 92.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.2421, allocations: 251.5 kB / 452.9 MB, free: 92.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.2443, allocations: 1.294 MB / 454.2 MB, free: 92.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.2444, allocations: 18.19 kB / 454.2 MB, free: 92.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2444, allocations: 5.781 kB / 454.2 MB, free: 92.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.2444, allocations: 10.41 kB / 454.2 MB, free: 92.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/0.2498, allocations: 3.627 MB / 457.8 MB, free: 91.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.2498, allocations: 2.719 kB / 457.8 MB, free: 91.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.2506, allocations: 270.5 kB / 458.1 MB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.2516, allocations: 359.5 kB / 458.4 MB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/0.2517, allocations: 42.34 kB / 458.5 MB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/0.2554, allocations: 6.917 MB / 465.4 MB, free: 84.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2554, allocations: 10.28 kB / 465.4 MB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.2583, allocations: 1.875 MB / 467.3 MB, free: 84.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007691/0.259, allocations: 369.9 kB / 467.7 MB, free: 83.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.2593, allocations: 34.7 kB / 467.7 MB, free: 83.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/0.2602, allocations: 98.97 kB / 467.8 MB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.2605, allocations: 123.5 kB / 467.9 MB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.2606, allocations: 47.83 kB / 467.9 MB, free: 83.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.2617, allocations: 0.9303 MB / 468.9 MB, free: 83.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2617, allocations: 0 / 468.9 MB, free: 83.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001387/0.2631, allocations: 0.5843 MB / 469.5 MB, free: 83.49 MB / 410.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.0003369/0.2634, allocations: 224.3 kB / 469.7 MB, free: 83.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.2652, allocations: 1.524 MB / 471.2 MB, free: 82.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2652, allocations: 0 / 471.2 MB, free: 82.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.2664, allocations: 1.214 MB / 472.4 MB, free: 82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.2676, allocations: 459.3 kB / 472.9 MB, free: 81.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006648/0.2742, allocations: 4.799 MB / 477.7 MB, free: 79.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.2749, allocations: 0.714 MB / 478.4 MB, free: 79.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.276, allocations: 371.6 kB / 478.7 MB, free: 79.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.2763, allocations: 134.6 kB / 478.9 MB, free: 79 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.2763, allocations: 0 / 478.9 MB, free: 79 MB / 410.7 MB Notification: Performance of Templates: time 0.03801/0.3143, allocations: 29.67 MB / 0.4966 GB, free: 65.11 MB / 410.7 MB " [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 -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: 3.751069378107786]