Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001185/0.001185, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.002/1.002, allocations: 177.2 MB / 201 MB, free: 5.715 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.001518/0.001518, allocations: 164.6 kB / 257.7 MB, free: 12.99 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.02355/0.02355, allocations: 6.662 MB / 320.9 MB, free: 26.36 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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 392.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.506e-05, allocations: 2.312 kB / 392.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.1397/0.1397, allocations: 24.02 MB / 416.9 MB, free: 69.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.1541, allocations: 7.889 MB / 424.8 MB, free: 67.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005189/0.1593, allocations: 201.1 kB / 425 MB, free: 67.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.17, allocations: 7.914 MB / 432.9 MB, free: 63.1 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008991/0.179, allocations: 3.167 MB / 436.1 MB, free: 60.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.1834, allocations: 2.029 MB / 438.1 MB, free: 58.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00974/0.1931, allocations: 9.704 MB / 447.8 MB, free: 51.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01517/0.2083, allocations: 11.25 MB / 459.1 MB, free: 40.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/0.2187, allocations: 7.254 MB / 466.3 MB, free: 32.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006293/0.2249, allocations: 5.088 MB / 471.4 MB, free: 27.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002685/0.2276, allocations: 1.348 MB / 472.8 MB, free: 26.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.2309, allocations: 1.73 MB / 474.5 MB, free: 24.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.2323, allocations: 2.762 MB / 477.3 MB, free: 22.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004821/0.2371, allocations: 3.454 MB / 480.7 MB, free: 18.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009198/0.2463, allocations: 8.597 MB / 489.3 MB, free: 9.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2463, allocations: 4 kB / 489.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2463, allocations: 0 / 489.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002907/0.2466, allocations: 0 / 489.3 MB, free: 9.953 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.01572/0.2623, allocations: 10.73 MB / 0.4883 GB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2623, allocations: 8.031 kB / 0.4883 GB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.2784, allocations: 5.491 MB / 0.4937 GB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/0.2864, allocations: 5.281 MB / 0.4989 GB, free: 4.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003861/0.2868, allocations: 0.5819 MB / 0.4994 GB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.2883, allocations: 0.7655 MB / 0.5002 GB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.2984, allocations: 6.312 MB / 0.5063 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.2985, allocations: 23.81 kB / 0.5064 GB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005844/0.2991, allocations: 320 kB / 0.5067 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003599/0.2995, allocations: 0.4928 MB / 0.5072 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006064/0.3055, allocations: 3.15 MB / 0.5102 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04064/0.3462, allocations: 33.07 MB / 0.5425 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007771/0.3539, allocations: 6.453 MB / 0.5488 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2475/0.6014, allocations: 1.126 MB / 0.5499 GB, free: 93.61 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/0.6019, allocations: 122.6 kB / 0.55 GB, free: 93.6 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002119/0.604, allocations: 1.572 MB / 0.5516 GB, free: 93.07 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 6.713e-06/0.604, allocations: 1.781 kB / 0.5516 GB, free: 93.07 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01679/0.6208, allocations: 7.942 MB / 0.5593 GB, free: 92.36 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.6209, allocations: 361.5 kB / 0.5597 GB, free: 91.98 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.6244, allocations: 2.911 MB / 0.5625 GB, free: 91.55 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004204/0.6248, allocations: 90.14 kB / 0.5626 GB, free: 91.52 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.6265, allocations: 3.7 MB / 0.5662 GB, free: 90.01 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.6275, allocations: 1.456 MB / 0.5676 GB, free: 89.21 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.6286, allocations: 1.196 MB / 0.5688 GB, free: 89.11 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.6287, allocations: 476.8 kB / 0.5693 GB, free: 88.64 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/0.6295, allocations: 0.6744 MB / 0.5699 GB, free: 88.59 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.6313, allocations: 3.727 MB / 0.5736 GB, free: 84.95 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.6346, allocations: 4.664 MB / 0.5781 GB, free: 81.49 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.256e-05/0.6346, allocations: 18.38 kB / 0.5781 GB, free: 81.49 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005917/0.6405, allocations: 4.537 MB / 0.5826 GB, free: 81.01 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.6406, allocations: 62.11 kB / 0.5826 GB, free: 80.98 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.724e-05/0.6407, allocations: 61.81 kB / 0.5827 GB, free: 80.98 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.6426, allocations: 0.9002 MB / 0.5836 GB, free: 80.93 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.6449, allocations: 1.179 MB / 0.5847 GB, free: 80.93 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.65, allocations: 5.452 MB / 0.59 GB, free: 78.77 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.6528, allocations: 230.5 kB / 0.5903 GB, free: 78.75 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.6531, allocations: 227.5 kB / 0.5905 GB, free: 78.71 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001746/0.6548, allocations: 0.5338 MB / 0.591 GB, free: 78.39 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007978/0.6556, allocations: 0.4956 MB / 0.5915 GB, free: 77.95 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.6594, allocations: 3.326 MB / 0.5947 GB, free: 75.98 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.6594, allocations: 43.94 kB / 0.5948 GB, free: 75.94 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.6594, allocations: 12 kB / 0.5948 GB, free: 75.93 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.6594, allocations: 21.98 kB / 0.5948 GB, free: 75.93 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.6713, allocations: 9.838 MB / 0.6044 GB, free: 69.93 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.6713, allocations: 5.469 kB / 0.6044 GB, free: 69.93 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.6726, allocations: 0.6162 MB / 0.605 GB, free: 69.39 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/0.6743, allocations: 0.7902 MB / 0.6058 GB, free: 68.6 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.6745, allocations: 87.97 kB / 0.6059 GB, free: 68.51 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/0.6786, allocations: 4.968 MB / 0.6107 GB, free: 63.54 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6786, allocations: 8 kB / 0.6107 GB, free: 63.54 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/0.6834, allocations: 3.926 MB / 0.6146 GB, free: 59.56 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.6849, allocations: 0.7144 MB / 0.6153 GB, free: 58.84 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000418/0.6853, allocations: 72 kB / 0.6153 GB, free: 58.77 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.6862, allocations: 108 kB / 0.6154 GB, free: 58.67 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/0.6866, allocations: 292.4 kB / 0.6157 GB, free: 58.39 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.6867, allocations: 91.97 kB / 0.6158 GB, free: 58.3 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001333/0.6881, allocations: 1.315 MB / 0.6171 GB, free: 57.11 MB / 394.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6881, allocations: 0 / 0.6171 GB, free: 57.11 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003938/0.692, allocations: 1.445 MB / 0.6185 GB, free: 55.66 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004478/0.6924, allocations: 257.6 kB / 0.6187 GB, free: 55.44 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.6966, allocations: 3.503 MB / 0.6222 GB, free: 52.16 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.6966, allocations: 4 kB / 0.6222 GB, free: 52.16 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.6986, allocations: 1.869 MB / 0.624 GB, free: 50.37 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.7011, allocations: 0.7536 MB / 0.6247 GB, free: 49.66 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.7173, allocations: 11.55 MB / 0.636 GB, free: 38.04 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/0.719, allocations: 2.041 MB / 0.638 GB, free: 35.96 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002413/0.7214, allocations: 0.6517 MB / 0.6386 GB, free: 35.3 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/0.7231, allocations: 0.9062 MB / 0.6395 GB, free: 34.4 MB / 394.8 MB Notification: Performance of SimCode: time 1.603e-06/0.7231, allocations: 0.5469 kB / 0.6395 GB, free: 34.4 MB / 394.8 MB Notification: Performance of Templates: time 0.08071/0.8038, allocations: 60.01 MB / 0.6981 GB, free: 7.273 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.181681737303734]