Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.2 MB / 200 MB, free: 5.82 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 167.8 kB / 256.6 MB, free: 13.13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02682/0.02682, allocations: 6.67 MB / 319.8 MB, free: 26.48 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 391.7 MB, free: 2.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.389e-05, allocations: 2.312 kB / 391.7 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.0149/0.01494, allocations: 16.13 MB / 407.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1247/0.1396, allocations: 5.473 MB / 413.3 MB, free: 69.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.1416, allocations: 114.8 kB / 413.4 MB, free: 69.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.1441, allocations: 1.22 MB / 414.6 MB, free: 69.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.1474, allocations: 1.638 MB / 416.3 MB, free: 69.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.1489, allocations: 1.02 MB / 417.3 MB, free: 69.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004063/0.153, allocations: 4.977 MB / 422.3 MB, free: 66.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.1549, allocations: 1.917 MB / 424.2 MB, free: 65.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.1579, allocations: 3.215 MB / 427.4 MB, free: 64.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1599, allocations: 2.257 MB / 429.6 MB, free: 63.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005667/0.1605, allocations: 0.5706 MB / 430.2 MB, free: 63.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009627/0.1614, allocations: 0.789 MB / 431 MB, free: 63.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.162, allocations: 1.35 MB / 432.4 MB, free: 62.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.1631, allocations: 1.682 MB / 434 MB, free: 61.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.1656, allocations: 3.951 MB / 438 MB, free: 58.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1656, allocations: 0 / 438 MB, free: 58.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1656, allocations: 4 kB / 438 MB, free: 58.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.1656, allocations: 0 / 438 MB, free: 58.16 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.005362/0.171, allocations: 5.272 MB / 443.3 MB, free: 52.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.171, allocations: 12.03 kB / 443.3 MB, free: 52.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/0.1739, allocations: 1.449 MB / 444.7 MB, free: 51.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.1765, allocations: 2.708 MB / 447.4 MB, free: 48.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.1767, allocations: 275.4 kB / 447.7 MB, free: 48.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/0.1771, allocations: 376.2 kB / 448.1 MB, free: 48.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003332/0.1804, allocations: 2.95 MB / 451 MB, free: 45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/0.1804, allocations: 4 kB / 451 MB, free: 45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.1806, allocations: 154.4 kB / 451.2 MB, free: 44.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.123e-05/0.1807, allocations: 151.4 kB / 451.3 MB, free: 44.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.1831, allocations: 1.402 MB / 452.7 MB, free: 43.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.1932, allocations: 12.58 MB / 465.3 MB, free: 30.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.1954, allocations: 2.031 MB / 467.3 MB, free: 28.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.1969, allocations: 1.248 MB / 468.6 MB, free: 27.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002989/0.1998, allocations: 2.87 MB / 471.5 MB, free: 24.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1999, allocations: 50.7 kB / 471.5 MB, free: 24.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.495e-06/0.1999, allocations: 0 / 471.5 MB, free: 24.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.005621/0.2055, allocations: 4.22 MB / 475.7 MB, free: 20.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2055, allocations: 72.66 kB / 475.8 MB, free: 20.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.2073, allocations: 1.784 MB / 477.6 MB, free: 18.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.2075, allocations: 53.7 kB / 477.6 MB, free: 18.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.2082, allocations: 1.901 MB / 479.5 MB, free: 16.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.2085, allocations: 0.5806 MB / 480.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/0.2089, allocations: 430 kB / 480.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.2089, allocations: 488.7 kB / 481 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.2095, allocations: 316.2 kB / 481.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.2104, allocations: 1.44 MB / 482.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.2119, allocations: 1.931 MB / 484.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.2119, allocations: 8 kB / 484.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002712/0.2147, allocations: 2.027 MB / 486.7 MB, free: 8.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.2147, allocations: 16 kB / 486.7 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.2147, allocations: 28.06 kB / 486.8 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/0.2153, allocations: 259.9 kB / 487 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/0.2163, allocations: 0.4914 MB / 487.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.2189, allocations: 5.068 MB / 492.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009959/0.2199, allocations: 91.89 kB / 492.7 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.22, allocations: 108 kB / 492.8 MB, free: 1.781 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 (261): * Single equations (assignments): 258 * Array equations: 0 * 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 {(2,13,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000716/0.2207, allocations: 307.9 kB / 493.1 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.221, allocations: 278.5 kB / 493.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.2228, allocations: 1.402 MB / 494.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2228, allocations: 16 kB / 494.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.2229, allocations: 8 kB / 494.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2229, allocations: 11.97 kB / 494.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005709/0.2286, allocations: 3.988 MB / 498.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2286, allocations: 0 / 498.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/0.2293, allocations: 267.8 kB / 499 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/0.2299, allocations: 266.7 kB / 499.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/0.23, allocations: 35.98 kB / 499.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004338/0.2343, allocations: 7.304 MB / 0.4948 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2343, allocations: 0 / 0.4948 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.2369, allocations: 1.914 MB / 0.4966 GB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.2376, allocations: 394.4 kB / 0.497 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.2378, allocations: 43.92 kB / 0.497 GB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.2383, allocations: 55.97 kB / 0.4971 GB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.2385, allocations: 123.7 kB / 0.4972 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.2386, allocations: 43.98 kB / 0.4973 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001206/0.2398, allocations: 0.991 MB / 0.4982 GB, free: 15.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2398, allocations: 0 / 0.4982 GB, free: 15.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001722/0.2415, allocations: 0.6562 MB / 0.4989 GB, free: 15.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.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 (130): * Single equations (assignments): 127 * Array equations: 0 * 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 {(2,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000305/0.2418, allocations: 168.1 kB / 0.499 GB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.244, allocations: 1.652 MB / 0.5006 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.244, allocations: 0 / 0.5006 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.2451, allocations: 1.189 MB / 0.5018 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.2464, allocations: 0.4952 MB / 0.5023 GB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/0.255, allocations: 5.714 MB / 0.5079 GB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.2559, allocations: 0.8698 MB / 0.5087 GB, free: 4.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.257, allocations: 446.5 kB / 0.5091 GB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.2573, allocations: 148.5 kB / 0.5093 GB, free: 4.324 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/0.2573, allocations: 3.938 kB / 0.5093 GB, free: 4.32 MB / 362.7 MB Notification: Performance of Templates: time 0.04254/0.2999, allocations: 29.71 MB / 0.5383 GB, free: 7.062 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8455897266976535]