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.001357/0.001357, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001208/0.001208, allocations: 159 kB / 25.61 MB, free: 8.582 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.061/1.061, allocations: 177 MB / 205.9 MB, free: 4.461 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.1649/0.1649, allocations: 34.88 MB / 297.4 MB, free: 13.34 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 3.767e-06/3.767e-06, allocations: 3.938 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.517e-05, allocations: 2.312 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009418/0.009454, allocations: 11.47 MB / 391.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.01377, allocations: 3.905 MB / 395.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.01439, allocations: 83.44 kB / 395.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.01555, allocations: 0.8622 MB / 396.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.01688, allocations: 1.071 MB / 397.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.01747, allocations: 0.5419 MB / 398 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.01929, allocations: 3.584 MB / 401.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.02055, allocations: 1.491 MB / 403.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.02273, allocations: 2.577 MB / 405.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.02418, allocations: 1.73 MB / 407.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000336/0.02452, allocations: 396 kB / 407.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006825/0.0252, allocations: 0.6243 MB / 408.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007061/0.0259, allocations: 1.157 MB / 409.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009045/0.02681, allocations: 1.259 MB / 410.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.02907, allocations: 2.994 MB / 413.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.02908, allocations: 0 / 413.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02908, allocations: 0 / 413.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.0291, allocations: 3.938 kB / 413.8 MB, free: 4.742 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.003704/0.03281, allocations: 3.754 MB / 417.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.03284, allocations: 8.031 kB / 417.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.03389, allocations: 0.6899 MB / 418.3 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.03558, allocations: 1.736 MB / 420 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.0357, allocations: 209.5 kB / 420.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.03594, allocations: 267.9 kB / 420.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.03801, allocations: 2.037 MB / 422.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/0.03806, allocations: 0 / 422.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.03825, allocations: 108 kB / 422.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.03836, allocations: 121.2 kB / 422.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.03954, allocations: 0.7864 MB / 423.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008546/0.04809, allocations: 8.953 MB / 432.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.04909, allocations: 0.8006 MB / 433.3 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.04974, allocations: 495.2 kB / 433.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.04989, allocations: 57.27 kB / 433.8 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.04994, allocations: 50.7 kB / 433.9 MB, free: 84 kB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 2.855e-06/0.04994, allocations: 0 / 433.9 MB, free: 84 kB / 346.7 MB Notification: Performance of matching and sorting (n=147): time 0.004728/0.05467, allocations: 2.896 MB / 436.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.05471, allocations: 76.59 kB / 436.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.0561, allocations: 1.543 MB / 438.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.05618, allocations: 53.7 kB / 438.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/0.057, allocations: 1.459 MB / 439.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.05734, allocations: 0.5345 MB / 440.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.0577, allocations: 340.9 kB / 440.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.05783, allocations: 484.8 kB / 441.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.05816, allocations: 207.8 kB / 441.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006766/0.05883, allocations: 0.8931 MB / 442.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.05994, allocations: 1.273 MB / 443.6 MB, free: 5.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.05995, allocations: 4 kB / 443.6 MB, free: 5.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001833/0.06178, allocations: 1.468 MB / 445.1 MB, free: 4.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.06181, allocations: 16.06 kB / 445.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.06182, allocations: 16 kB / 445.1 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006901/0.06251, allocations: 308.2 kB / 445.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.06329, allocations: 383.4 kB / 445.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.06659, allocations: 4.93 MB / 450.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.06718, allocations: 67.94 kB / 450.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/0.06727, allocations: 63.98 kB / 450.8 MB, free: 14.2 MB / 378.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.0004562/0.06773, allocations: 279.9 kB / 451.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.06801, allocations: 250.7 kB / 451.4 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.06948, allocations: 1.153 MB / 452.5 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.0695, allocations: 19.94 kB / 452.5 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.06951, allocations: 4 kB / 452.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.06952, allocations: 7.969 kB / 452.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/0.07373, allocations: 3.431 MB / 456 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.07374, allocations: 4 kB / 456 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.07431, allocations: 240 kB / 456.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007433/0.07506, allocations: 338.6 kB / 456.5 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/0.07513, allocations: 39.97 kB / 456.6 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/0.07902, allocations: 6.665 MB / 463.3 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.07903, allocations: 4 kB / 463.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.08097, allocations: 1.687 MB / 464.9 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.08141, allocations: 330.5 kB / 465.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.08157, allocations: 35.98 kB / 465.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.08203, allocations: 63.91 kB / 465.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.0822, allocations: 121 kB / 465.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.08226, allocations: 39.98 kB / 465.5 MB, free: 14.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007179/0.08298, allocations: 0.84 MB / 466.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.08298, allocations: 0 / 466.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00136/0.08434, allocations: 0.5741 MB / 466.9 MB, free: 13.52 MB / 394.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.0003763/0.08472, allocations: 230.8 kB / 467.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.08631, allocations: 1.4 MB / 468.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.08632, allocations: 0 / 468.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.08738, allocations: 1.119 MB / 469.7 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.08854, allocations: 440.3 kB / 470.1 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/0.09501, allocations: 4.738 MB / 474.8 MB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.09561, allocations: 0.7128 MB / 475.6 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006084/0.09622, allocations: 255.6 kB / 475.8 MB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007834/0.097, allocations: 0.5019 MB / 476.3 MB, free: 3.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/0.097, allocations: 0 / 476.3 MB, free: 3.906 MB / 394.7 MB Notification: Performance of Templates: time 0.2272/0.3242, allocations: 31.08 MB / 0.4955 GB, free: 103.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 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.321183310821652]