Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.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.001342/0.001342, allocations: 78.16 kB / 19.01 MB, free: 2.742 MB / 14.72 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.494/1.494, allocations: 177.2 MB / 199.3 MB, free: 9.465 MB / 190.1 MB " [Timeout remaining time 178] 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.001686/0.001686, allocations: 161.4 kB / 255.8 MB, free: 0.9062 MB / 238.1 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.05015/0.05015, allocations: 6.663 MB / 318.9 MB, free: 48.49 MB / 286.1 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.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") translateModel(HanserModelica.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002857, allocations: 83.86 kB / 445.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2396, allocations: 55.57 MB / 0.4895 GB, free: 26.1 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.01897/0.2585, allocations: 23.84 MB / 0.5128 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01636/0.2749, allocations: 7.834 MB / 0.5205 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005781/0.2807, allocations: 250.7 kB / 0.5207 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02027/0.301, allocations: 7.797 MB / 0.5283 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.3116, allocations: 2.739 MB / 0.531 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006045/0.3177, allocations: 1.819 MB / 0.5328 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01385/0.3315, allocations: 9.83 MB / 0.5424 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02222/0.3537, allocations: 13.73 MB / 0.5558 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.3684, allocations: 8.214 MB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01141/0.3798, allocations: 5.758 MB / 0.5694 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00461/0.3844, allocations: 1.52 MB / 0.5709 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006014/0.3904, allocations: 1.882 MB / 0.5727 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004832/0.3952, allocations: 2.942 MB / 0.5756 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008943/0.4042, allocations: 4.452 MB / 0.58 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02533/0.4295, allocations: 20.43 MB / 0.5999 GB, free: 8.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.4295, allocations: 3.984 kB / 0.5999 GB, free: 8.602 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4295, allocations: 0 / 0.5999 GB, free: 8.602 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004586/0.43, allocations: 0 / 0.5999 GB, free: 8.602 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2552 * Number of variables: 2552 Notification: Performance of Generate backend data structure: time 0.4443/0.8743, allocations: 11.75 MB / 0.6114 GB, free: 93.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.8743, allocations: 9.625 kB / 0.6114 GB, free: 93.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03143/0.9058, allocations: 5.567 MB / 0.6168 GB, free: 92.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.9204, allocations: 6.259 MB / 0.6229 GB, free: 87.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006027/0.921, allocations: 0.6896 MB / 0.6236 GB, free: 87.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003991/0.925, allocations: 0.9098 MB / 0.6245 GB, free: 86.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03422/0.9592, allocations: 15.04 MB / 0.6392 GB, free: 71.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003141/0.9595, allocations: 16.88 kB / 0.6392 GB, free: 71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002449/0.9619, allocations: 392.4 kB / 0.6396 GB, free: 70.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003744/0.9623, allocations: 0.5043 MB / 0.6401 GB, free: 70.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0246/0.9869, allocations: 13.56 MB / 0.6533 GB, free: 56.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06513/1.052, allocations: 40.51 MB / 0.6929 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/1.064, allocations: 7.852 MB / 0.7005 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004113/1.068, allocations: 2.742 MB / 0.7032 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/1.068, allocations: 90.86 kB / 0.7033 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/1.068, allocations: 77.52 kB / 0.7034 GB, free: 6.184 MB / 462.1 MB Notification: Performance of pre-optimization done (n=375): time 6.602e-06/1.068, allocations: 0 / 0.7034 GB, free: 6.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=382): time 0.03043/1.099, allocations: 14.54 MB / 0.7176 GB, free: 7.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/1.099, allocations: 94.41 kB / 0.7177 GB, free: 7.602 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005714/1.105, allocations: 3.439 MB / 0.721 GB, free: 4.156 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006531/1.105, allocations: 85.7 kB / 0.7211 GB, free: 4.066 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003293/1.109, allocations: 4.097 MB / 0.7251 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001873/1.11, allocations: 1.371 MB / 0.7264 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001959/1.112, allocations: 1.156 MB / 0.7276 GB, free: 13.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/1.112, allocations: 308.9 kB / 0.7279 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00453/1.117, allocations: 2.553 MB / 0.7304 GB, free: 10.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007335/1.124, allocations: 5.04 MB / 0.7353 GB, free: 4.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/1.138, allocations: 8.218 MB / 0.7433 GB, free: 10.92 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.138, allocations: 24 kB / 0.7433 GB, free: 10.9 MB / 0.4982 GB Notification: Performance of matching and sorting (n=755) (initialization): time 0.02027/1.158, allocations: 8.492 MB / 0.7516 GB, free: 2.375 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/1.158, allocations: 44.12 kB / 0.7517 GB, free: 2.332 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/1.159, allocations: 80 kB / 0.7517 GB, free: 2.254 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/1.161, allocations: 0.8317 MB / 0.7526 GB, free: 1.418 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005498/1.167, allocations: 1.345 MB / 0.7539 GB, free: 72 kB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1.179, allocations: 7.334 MB / 0.761 GB, free: 8.625 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/1.184, allocations: 327.5 kB / 0.7613 GB, free: 8.305 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.185, allocations: 304 kB / 0.7616 GB, free: 8.008 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (708): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007464/1.192, allocations: 3.482 MB / 0.765 GB, free: 4.512 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/1.194, allocations: 401.4 kB / 0.7654 GB, free: 4.117 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.207, allocations: 5.809 MB / 0.7711 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-05/1.207, allocations: 40 kB / 0.7711 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.923e-05/1.207, allocations: 8 kB / 0.7711 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.207, allocations: 23.86 kB / 0.7712 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03017/1.237, allocations: 12.62 MB / 0.7835 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.237, allocations: 4 kB / 0.7835 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002947/1.24, allocations: 0.6748 MB / 0.7841 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/1.242, allocations: 0.6976 MB / 0.7848 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004604/1.243, allocations: 91.94 kB / 0.7849 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.253, allocations: 6.385 MB / 0.7911 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.253, allocations: 11.88 kB / 0.7912 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.269, allocations: 8.54 MB / 0.7995 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/1.272, allocations: 0.7979 MB / 0.8003 GB, free: 15.99 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.273, allocations: 79.89 kB / 0.8003 GB, free: 15.92 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/1.275, allocations: 179.8 kB / 0.8005 GB, free: 15.74 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006586/1.276, allocations: 278.4 kB / 0.8008 GB, free: 15.47 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003901/1.276, allocations: 112 kB / 0.8009 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005156/1.281, allocations: 2.205 MB / 0.803 GB, free: 13.16 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2e-07/1.281, allocations: 4.062 kB / 0.8031 GB, free: 13.16 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006095/1.287, allocations: 1.512 MB / 0.8045 GB, free: 11.64 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 1 (smr.phiMechanical) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (365): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,38,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000655/1.288, allocations: 250.5 kB / 0.8048 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.299, allocations: 6.158 MB / 0.8108 GB, free: 5.227 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/1.299, allocations: 4.375 kB / 0.8108 GB, free: 5.223 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005034/1.304, allocations: 2.665 MB / 0.8134 GB, free: 2.547 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004825/1.309, allocations: 0.8427 MB / 0.8142 GB, free: 1.723 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/1.341, allocations: 15.65 MB / 0.8295 GB, free: 1.957 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.242/1.583, allocations: 5.438 MB / 0.8348 GB, free: 199.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005691/1.588, allocations: 1.837 MB / 0.8366 GB, free: 199.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.59, allocations: 345.9 kB / 0.8369 GB, free: 199.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.513e-06/1.59, allocations: 0 / 0.8369 GB, free: 199.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.08456/1.674, allocations: 52.99 MB / 0.8887 GB, free: 160.2 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.144686907529831] Failed to read output from testmodel.py, exit status != 0: 1.6835535764694214 1.692703497 1.260753754 Calling exit ...