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.001056/0.001056, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009928/0.0009928, allocations: 161 kB / 24.99 MB, free: 8.789 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.9295/0.9295, allocations: 177 MB / 205.2 MB, free: 5.586 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.2496/0.2496, allocations: 34.86 MB / 296.6 MB, free: 488 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.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 1.302e-06/1.302e-06, allocations: 0 / 378 MB, free: 3.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.852e-05, allocations: 6.312 kB / 378 MB, free: 3.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009677/0.009696, allocations: 11.79 MB / 389.8 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004757/0.01445, allocations: 3.928 MB / 393.8 MB, free: 3.297 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006571/0.01511, allocations: 87.44 kB / 393.8 MB, free: 3.211 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.01634, allocations: 0.8388 MB / 394.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.01772, allocations: 1.079 MB / 395.8 MB, free: 1.277 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.01832, allocations: 0.542 MB / 396.3 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00244/0.02076, allocations: 3.583 MB / 399.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.02207, allocations: 1.495 MB / 401.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.02378, allocations: 2.335 MB / 403.7 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.02527, allocations: 1.816 MB / 405.5 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003744/0.02565, allocations: 408 kB / 405.9 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009102/0.02656, allocations: 0.6283 MB / 406.6 MB, free: 6.391 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007013/0.02726, allocations: 1.211 MB / 407.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000862/0.02812, allocations: 1.278 MB / 409 MB, free: 3.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.0303, allocations: 3.06 MB / 412.1 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.0303, allocations: 0 / 412.1 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.0303, allocations: 0 / 412.1 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.03032, allocations: 0 / 412.1 MB, free: 0.8242 MB / 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.004084/0.03441, allocations: 3.91 MB / 416 MB, free: 12.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.03445, allocations: 12.02 kB / 416 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.03552, allocations: 0.6899 MB / 416.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.03744, allocations: 1.819 MB / 418.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.03755, allocations: 205.5 kB / 418.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.03781, allocations: 271.9 kB / 419 MB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.04056, allocations: 2.198 MB / 421.2 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.04061, allocations: 4 kB / 421.2 MB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.04077, allocations: 112 kB / 421.3 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.651e-05/0.04087, allocations: 125.2 kB / 421.4 MB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.04262, allocations: 1.007 MB / 422.4 MB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008592/0.05121, allocations: 9.184 MB / 431.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.05236, allocations: 0.831 MB / 432.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000838/0.0532, allocations: 0.5431 MB / 433 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.05337, allocations: 65.25 kB / 433.1 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.0534, allocations: 50.7 kB / 433.1 MB, free: 11.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.186e-06/0.0534, allocations: 0 / 433.1 MB, free: 11.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.005867/0.05927, allocations: 3.689 MB / 436.8 MB, free: 7.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.05931, allocations: 72.66 kB / 436.9 MB, free: 7.414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.06077, allocations: 1.607 MB / 438.5 MB, free: 5.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.06084, allocations: 45.7 kB / 438.5 MB, free: 5.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006887/0.06153, allocations: 1.451 MB / 440 MB, free: 4.277 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.06182, allocations: 0.5385 MB / 440.5 MB, free: 3.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/0.06217, allocations: 329.1 kB / 440.8 MB, free: 3.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.06228, allocations: 484.7 kB / 441.3 MB, free: 2.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.06275, allocations: 275.8 kB / 441.6 MB, free: 2.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009909/0.06374, allocations: 0.9557 MB / 442.5 MB, free: 1.422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1411/0.2048, allocations: 1.372 MB / 443.9 MB, free: 96.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.2048, allocations: 5.312 kB / 443.9 MB, free: 96.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002634/0.2075, allocations: 1.63 MB / 445.5 MB, free: 96.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2075, allocations: 11.75 kB / 445.6 MB, free: 96.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.2075, allocations: 14.56 kB / 445.6 MB, free: 96.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007594/0.2083, allocations: 318 kB / 445.9 MB, free: 96.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/0.2091, allocations: 416.5 kB / 446.3 MB, free: 96.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.2118, allocations: 5.109 MB / 451.4 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007914/0.2126, allocations: 121 kB / 451.5 MB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/0.2127, allocations: 74.55 kB / 451.6 MB, free: 92.46 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.0005439/0.2132, allocations: 267.4 kB / 451.8 MB, free: 92.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.2135, allocations: 252.4 kB / 452.1 MB, free: 92.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.2151, allocations: 1.295 MB / 453.4 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.2151, allocations: 22.91 kB / 453.4 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2151, allocations: 2.812 kB / 453.4 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.2151, allocations: 9.062 kB / 453.4 MB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.2191, allocations: 3.622 MB / 457 MB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.2191, allocations: 2.875 kB / 457 MB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/0.2197, allocations: 269.4 kB / 457.3 MB, free: 90.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007933/0.2205, allocations: 368 kB / 457.7 MB, free: 90.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/0.2206, allocations: 44.25 kB / 457.7 MB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003036/0.2236, allocations: 6.916 MB / 464.6 MB, free: 84.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2236, allocations: 3.438 kB / 464.6 MB, free: 84.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.2258, allocations: 1.875 MB / 466.5 MB, free: 83.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.2262, allocations: 379.3 kB / 466.9 MB, free: 83.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.2264, allocations: 32.12 kB / 466.9 MB, free: 83.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.2269, allocations: 90.97 kB / 467 MB, free: 83.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.2271, allocations: 126.5 kB / 467.1 MB, free: 83.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.2272, allocations: 40.38 kB / 467.2 MB, free: 83.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008206/0.228, allocations: 0.9412 MB / 468.1 MB, free: 83.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.228, allocations: 1.75 kB / 468.1 MB, free: 83.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001174/0.2291, allocations: 0.5866 MB / 468.7 MB, free: 83.26 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.000316/0.2295, allocations: 213 kB / 468.9 MB, free: 83.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.2312, allocations: 1.535 MB / 470.4 MB, free: 82.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2312, allocations: 0 / 470.4 MB, free: 82.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009878/0.2322, allocations: 1.208 MB / 471.6 MB, free: 81.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.2333, allocations: 451.2 kB / 472.1 MB, free: 81.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.2386, allocations: 4.849 MB / 476.9 MB, free: 79.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.2396, allocations: 1.448 MB / 478.4 MB, free: 78.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.2399, allocations: 148.2 kB / 478.5 MB, free: 78.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.143e-06/0.2399, allocations: 0 / 478.5 MB, free: 78.63 MB / 410.7 MB Notification: Performance of Templates: time 0.04677/0.2867, allocations: 75.64 MB / 0.5412 GB, free: 18.93 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 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.12816724111326]