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.0008044/0.0008044, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005059/0.005863, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009141/0.0009141, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001181/0.002095, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.059/1.059, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09829/1.157, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.2917/0.2917, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03174/0.3234, allocations: 13.24 MB / 292.8 MB, free: 6.391 MB / 282.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.713e-06/1.713e-06, allocations: 0 / 294.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.815e-05, allocations: 4.234 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01437/0.0144, allocations: 11.61 MB / 305.8 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008633/0.02303, allocations: 4.084 MB / 309.9 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.02514, allocations: 83.44 kB / 310 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.02746, allocations: 0.8635 MB / 310.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.03181, allocations: 1.083 MB / 311.9 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.03327, allocations: 0.5303 MB / 312.4 MB, free: 2.695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003999/0.03727, allocations: 3.604 MB / 316 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.03934, allocations: 1.537 MB / 317.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.04334, allocations: 2.784 MB / 320.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.04592, allocations: 1.722 MB / 322.1 MB, free: 8.922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008762/0.04679, allocations: 396 kB / 322.5 MB, free: 8.535 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.04799, allocations: 0.6244 MB / 323.1 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000707/0.0487, allocations: 0.9429 MB / 324 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.04996, allocations: 1.029 MB / 325.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.05301, allocations: 2.807 MB / 327.9 MB, free: 3.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.05302, allocations: 4 kB / 327.9 MB, free: 3.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.05302, allocations: 0 / 327.9 MB, free: 3.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001322/0.05315, allocations: 0 / 327.9 MB, free: 3.113 MB / 314.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.005192/0.05835, allocations: 4.118 MB / 332 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.05838, allocations: 8.031 kB / 332 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.05956, allocations: 0.6615 MB / 332.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.06162, allocations: 1.32 MB / 334 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.06174, allocations: 209.5 kB / 334.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.062, allocations: 272 kB / 334.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.0646, allocations: 2.057 MB / 336.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/0.06465, allocations: 11.88 kB / 336.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.0648, allocations: 112 kB / 336.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.515e-05/0.0649, allocations: 121.2 kB / 336.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.06616, allocations: 0.7784 MB / 337.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009274/0.07544, allocations: 7.236 MB / 344.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009714/0.07641, allocations: 0.7852 MB / 345.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.07696, allocations: 456.4 kB / 346 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.07714, allocations: 57.28 kB / 346 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.07717, allocations: 47.88 kB / 346.1 MB, free: 292 kB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 3.326e-06/0.07718, allocations: 0 / 346.1 MB, free: 292 kB / 330.7 MB Notification: Performance of matching and sorting (n=147): time 0.006356/0.08353, allocations: 2.902 MB / 349 MB, free: 13.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.08357, allocations: 64.72 kB / 349.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.08461, allocations: 1.312 MB / 350.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.08468, allocations: 49.7 kB / 350.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.08517, allocations: 1.11 MB / 351.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.08547, allocations: 0.5228 MB / 352 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.08578, allocations: 311.3 kB / 352.4 MB, free: 9.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.08585, allocations: 301.1 kB / 352.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.08614, allocations: 202.7 kB / 352.8 MB, free: 9.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.0866, allocations: 0.6729 MB / 353.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.08762, allocations: 1.117 MB / 354.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.08763, allocations: 8 kB / 354.6 MB, free: 7.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001627/0.08925, allocations: 1.179 MB / 355.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.08928, allocations: 12 kB / 355.8 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.0893, allocations: 12.38 kB / 355.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.08993, allocations: 314.7 kB / 356.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/0.09082, allocations: 439.4 kB / 356.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.09358, allocations: 3.754 MB / 360.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.09429, allocations: 75.86 kB / 360.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/0.09438, allocations: 55.98 kB / 360.5 MB, free: 1.207 MB / 346.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.09492, allocations: 232 kB / 360.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.09518, allocations: 171.8 kB / 360.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.09648, allocations: 0.9895 MB / 361.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.0965, allocations: 16 kB / 361.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.09651, allocations: 7.938 kB / 361.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.09653, allocations: 7.969 kB / 361.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.1001, allocations: 2.827 MB / 364.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.1001, allocations: 4 kB / 364.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.1009, allocations: 349.4 kB / 365.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/0.1013, allocations: 246.6 kB / 365.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007277/0.102, allocations: 338.6 kB / 365.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.1021, allocations: 35.98 kB / 365.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/0.1056, allocations: 4.951 MB / 370.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.1056, allocations: 7.938 kB / 370.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.1073, allocations: 1.432 MB / 372 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.1075, allocations: 39.98 kB / 372.1 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.1079, allocations: 59.97 kB / 372.1 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.1081, allocations: 121 kB / 372.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/0.1082, allocations: 31.98 kB / 372.3 MB, free: 4.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000648/0.1088, allocations: 0.6624 MB / 373 MB, free: 4.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1088, allocations: 0 / 373 MB, free: 4.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001586/0.1104, allocations: 0.5703 MB / 373.5 MB, free: 3.633 MB / 362.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.0004059/0.1108, allocations: 207.9 kB / 373.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.1125, allocations: 1.231 MB / 375 MB, free: 2.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.966e-05/0.1126, allocations: 48.34 kB / 375 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.1137, allocations: 0.9949 MB / 376 MB, free: 1.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.1167, allocations: 4.265 MB / 380.3 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/0.1346, allocations: 4.717 MB / 385 MB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.1352, allocations: 0.6361 MB / 385.6 MB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008996/0.1361, allocations: 243.9 kB / 385.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/0.1369, allocations: 467.1 kB / 386.3 MB, free: 5.816 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1369, allocations: 4 kB / 386.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of Templates: time 0.04439/0.1813, allocations: 31.36 MB / 417.7 MB, free: 6.844 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.61501145362854]