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.0009936/0.0009936, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001038/0.001038, allocations: 158.6 kB / 24.91 MB, free: 8.719 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.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.02 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.2548/0.2548, allocations: 34.85 MB / 296.6 MB, free: 396 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.112e-06/1.112e-06, allocations: 0 / 326 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.139e-05, allocations: 2.312 kB / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.008687/0.008698, allocations: 11.49 MB / 337.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006118/0.01482, allocations: 4.062 MB / 341.5 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.01546, allocations: 79.5 kB / 341.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.0167, allocations: 0.8595 MB / 342.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.01815, allocations: 1.079 MB / 343.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.01873, allocations: 0.5419 MB / 344.1 MB, free: 4.855 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.02119, allocations: 3.587 MB / 347.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.02244, allocations: 1.526 MB / 349.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.02427, allocations: 2.561 MB / 351.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.02579, allocations: 1.726 MB / 353.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003163/0.0261, allocations: 396 kB / 353.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.02671, allocations: 0.6088 MB / 354.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006981/0.02741, allocations: 1.157 MB / 355.7 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00098/0.02839, allocations: 1.251 MB / 356.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.03064, allocations: 3.006 MB / 359.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.03064, allocations: 0 / 359.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.03064, allocations: 0 / 359.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.848e-05/0.03071, allocations: 0 / 359.9 MB, free: 4.922 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.003571/0.03428, allocations: 3.462 MB / 363.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.0343, allocations: 8.031 kB / 363.4 MB, free: 1.406 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.03553, allocations: 0.5824 MB / 364 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.03701, allocations: 1.328 MB / 365.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.03711, allocations: 201.5 kB / 365.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.03735, allocations: 268 kB / 365.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.03928, allocations: 2.06 MB / 367.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.03932, allocations: 7.953 kB / 367.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.03947, allocations: 112 kB / 367.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.046e-05/0.03956, allocations: 125.2 kB / 368 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.04067, allocations: 0.7822 MB / 368.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007049/0.04772, allocations: 7.2 MB / 376 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.04855, allocations: 0.7931 MB / 376.8 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.0491, allocations: 456.4 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.04926, allocations: 65.22 kB / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.04928, allocations: 47.81 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 2.375e-06/0.04929, allocations: 0 / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=147): time 0.004529/0.05382, allocations: 2.851 MB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.05384, allocations: 64.72 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000895/0.05474, allocations: 1.3 MB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.05481, allocations: 57.69 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/0.05524, allocations: 1.118 MB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.05549, allocations: 0.5189 MB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.05579, allocations: 315.2 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.05584, allocations: 301.1 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.05613, allocations: 202.7 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.05658, allocations: 0.6652 MB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.05773, allocations: 1.07 MB / 385.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.05774, allocations: 4 kB / 385.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001497/0.05923, allocations: 1.187 MB / 387 MB, free: 8.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.05925, allocations: 13.72 kB / 387 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.05927, allocations: 16 kB / 387 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/0.05987, allocations: 307.6 kB / 387.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.06058, allocations: 375.4 kB / 387.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.06303, allocations: 3.728 MB / 391.4 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.06354, allocations: 67.94 kB / 391.5 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/0.06363, allocations: 55.98 kB / 391.6 MB, free: 3.98 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.0003613/0.06399, allocations: 232.1 kB / 391.8 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/0.06446, allocations: 167.8 kB / 392 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.06565, allocations: 0.9822 MB / 392.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.06567, allocations: 20 kB / 393 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.06567, allocations: 8 kB / 393 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.06569, allocations: 11.91 kB / 393 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.06881, allocations: 2.836 MB / 395.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.06882, allocations: 8 kB / 395.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.06935, allocations: 239.6 kB / 396 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007266/0.07008, allocations: 384.1 kB / 396.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.07014, allocations: 39.97 kB / 396.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.07311, allocations: 4.929 MB / 401.4 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.07312, allocations: 8 kB / 401.4 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.07468, allocations: 1.432 MB / 402.8 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.07504, allocations: 258.5 kB / 403.1 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.07519, allocations: 35.98 kB / 403.1 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.07562, allocations: 59.97 kB / 403.2 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.07577, allocations: 117 kB / 403.3 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.07583, allocations: 35.98 kB / 403.3 MB, free: 7.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005193/0.07635, allocations: 0.6585 MB / 404 MB, free: 7.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07635, allocations: 0 / 404 MB, free: 7.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001009/0.07735, allocations: 0.5741 MB / 404.6 MB, free: 6.465 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.0002873/0.07764, allocations: 200 kB / 404.8 MB, free: 6.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.0789, allocations: 1.204 MB / 406 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-05/0.07893, allocations: 25.81 kB / 406 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.08001, allocations: 0.9167 MB / 406.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.08101, allocations: 452 kB / 407.3 MB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/0.08841, allocations: 4.559 MB / 411.9 MB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/0.08912, allocations: 0.6269 MB / 412.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008429/0.08996, allocations: 247.7 kB / 412.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008451/0.0908, allocations: 459.1 kB / 413.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of SimCode: time 2.455e-06/0.09081, allocations: 0 / 413.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of Templates: time 0.1648/0.2556, allocations: 30.29 MB / 443.5 MB, free: 112.9 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.526999782770872]