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.001407/0.001407, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001401/0.001401, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.101/1.101, allocations: 177 MB / 205.2 MB, free: 5.039 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.2533/0.2533, allocations: 34.86 MB / 296.6 MB, free: 456 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.253e-06/1.253e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.352e-05, allocations: 2.312 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009794/0.009808, allocations: 11.54 MB / 337.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006884/0.01669, allocations: 4.054 MB / 341.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.01801, allocations: 87.44 kB / 341.7 MB, free: 7.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.01964, allocations: 0.8751 MB / 342.6 MB, free: 6.414 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.02195, allocations: 1.075 MB / 343.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008915/0.02284, allocations: 0.5343 MB / 344.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.02515, allocations: 3.595 MB / 347.8 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.02649, allocations: 1.53 MB / 349.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.02882, allocations: 2.554 MB / 351.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.03023, allocations: 1.719 MB / 353.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003427/0.03058, allocations: 396 kB / 354 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007334/0.03131, allocations: 0.6205 MB / 354.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006598/0.03197, allocations: 1.165 MB / 355.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008776/0.03285, allocations: 1.251 MB / 357 MB, free: 7.863 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.03532, allocations: 2.998 MB / 360 MB, free: 4.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.03533, allocations: 0 / 360 MB, free: 4.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03533, allocations: 0 / 360 MB, free: 4.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.03536, allocations: 4 kB / 360 MB, free: 4.852 MB / 330.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.003254/0.03861, allocations: 3.45 MB / 363.5 MB, free: 1.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.03864, allocations: 12.03 kB / 363.5 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.03968, allocations: 0.5785 MB / 364.1 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.04145, allocations: 1.335 MB / 365.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.04155, allocations: 209.4 kB / 365.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.04179, allocations: 264 kB / 365.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.04379, allocations: 2.053 MB / 367.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.128e-05/0.04384, allocations: 19.86 kB / 367.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.04399, allocations: 108 kB / 368 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.953e-05/0.04408, allocations: 121.3 kB / 368.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.04518, allocations: 0.7823 MB / 368.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007246/0.05242, allocations: 7.197 MB / 376.1 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/0.0533, allocations: 0.793 MB / 376.9 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.05387, allocations: 460.4 kB / 377.4 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.05405, allocations: 61.28 kB / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.05409, allocations: 51.86 kB / 377.5 MB, free: 2.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 2.905e-06/0.05409, allocations: 0 / 377.5 MB, free: 2.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=147): time 0.005029/0.05912, allocations: 2.843 MB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.05915, allocations: 68.72 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/0.06011, allocations: 1.308 MB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.06017, allocations: 45.7 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004752/0.06065, allocations: 1.114 MB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.06091, allocations: 0.5228 MB / 383.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.0612, allocations: 307.3 kB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.06127, allocations: 301.1 kB / 384 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.06156, allocations: 206.7 kB / 384.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.06207, allocations: 0.6768 MB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.06325, allocations: 1.07 MB / 385.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.06325, allocations: 4 kB / 385.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001443/0.0647, allocations: 1.184 MB / 387.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.06472, allocations: 13.72 kB / 387.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.06474, allocations: 12 kB / 387.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.06539, allocations: 310.2 kB / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/0.06625, allocations: 411.4 kB / 387.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.06885, allocations: 3.728 MB / 391.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.0694, allocations: 75.92 kB / 391.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.06949, allocations: 63.98 kB / 391.7 MB, free: 3.867 MB / 362.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.0004121/0.0699, allocations: 220 kB / 391.9 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.07013, allocations: 171.8 kB / 392.1 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.07158, allocations: 0.994 MB / 393.1 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.0716, allocations: 16.05 kB / 393.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.07161, allocations: 15.86 kB / 393.1 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.07162, allocations: 7.969 kB / 393.1 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.07477, allocations: 2.832 MB / 396 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.07477, allocations: 4.406 kB / 396 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.07549, allocations: 329 kB / 396.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006738/0.07616, allocations: 333.9 kB / 396.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.07623, allocations: 35.98 kB / 396.6 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/0.07935, allocations: 4.945 MB / 401.6 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.07935, allocations: 11.94 kB / 401.6 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.08089, allocations: 1.424 MB / 403 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.08125, allocations: 254.5 kB / 403.3 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.08139, allocations: 32 kB / 403.3 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.08182, allocations: 63.95 kB / 403.4 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.08199, allocations: 121 kB / 403.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.08204, allocations: 39.97 kB / 403.5 MB, free: 7.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000529/0.08257, allocations: 0.6585 MB / 404.2 MB, free: 6.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08257, allocations: 0 / 404.2 MB, free: 6.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001101/0.08367, allocations: 0.5703 MB / 404.8 MB, free: 6.312 MB / 378.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002839/0.08396, allocations: 211.9 kB / 405 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.08525, allocations: 1.192 MB / 406.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.744e-05/0.08527, allocations: 26.75 kB / 406.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.0864, allocations: 0.9121 MB / 407.1 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.0874, allocations: 445.6 kB / 407.5 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.09246, allocations: 4.573 MB / 412.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.09296, allocations: 0.627 MB / 412.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006002/0.09356, allocations: 251.8 kB / 413 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/0.09433, allocations: 455.1 kB / 413.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.09433, allocations: 4 kB / 413.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of Templates: time 0.1693/0.2636, allocations: 30.38 MB / 443.8 MB, free: 112.5 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.791695335879922]