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.002008/0.002008, allocations: 84.73 kB / 19.44 MB, free: 352 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.512/1.512, allocations: 177.1 MB / 199.7 MB, free: 4.816 MB / 186.7 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.001721/0.001721, allocations: 163.6 kB / 256.3 MB, free: 352 kB / 234.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.04339/0.04339, allocations: 6.668 MB / 319.4 MB, free: 1.367 MB / 298.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.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: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 390.9 MB, free: 58.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.239e-05, allocations: 10.25 kB / 390.9 MB, free: 58.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.02225/0.02229, allocations: 23.89 MB / 414.8 MB, free: 34.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.03908, allocations: 7.854 MB / 422.7 MB, free: 26.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005801/0.04488, allocations: 250.8 kB / 422.9 MB, free: 26.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01939/0.06427, allocations: 7.819 MB / 430.7 MB, free: 18.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.07808, allocations: 2.792 MB / 433.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008184/0.08626, allocations: 1.818 MB / 435.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01535/0.1016, allocations: 10.15 MB / 445.5 MB, free: 3.848 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03441/0.136, allocations: 13.76 MB / 459.3 MB, free: 5.934 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1833/0.3193, allocations: 7.966 MB / 467.2 MB, free: 29.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01195/0.3313, allocations: 5.17 MB / 472.4 MB, free: 29.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005049/0.3363, allocations: 1.521 MB / 473.9 MB, free: 29.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008272/0.3446, allocations: 1.895 MB / 475.8 MB, free: 29.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006424/0.351, allocations: 2.994 MB / 478.8 MB, free: 29.99 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0138/0.3648, allocations: 3.84 MB / 482.6 MB, free: 29.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0258/0.3906, allocations: 20.61 MB / 0.4915 GB, free: 20.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.3906, allocations: 2.594 kB / 0.4915 GB, free: 20.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3906, allocations: 0 / 0.4915 GB, free: 20.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.001001/0.3916, allocations: 3.375 kB / 0.4915 GB, free: 20.76 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: 2552 * Number of variables: 2552 Notification: Performance of Generate backend data structure: time 0.03756/0.4292, allocations: 11.66 MB / 0.5029 GB, free: 12.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4292, allocations: 19.38 kB / 0.5029 GB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03241/0.4616, allocations: 6.97 MB / 0.5097 GB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.4757, allocations: 6.531 MB / 0.5161 GB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/0.4769, allocations: 0.688 MB / 0.5167 GB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004766/0.4816, allocations: 0.9076 MB / 0.5176 GB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04957/0.5312, allocations: 15.05 MB / 0.5323 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005459/0.5318, allocations: 20.81 kB / 0.5323 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003919/0.5357, allocations: 380.8 kB / 0.5327 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008016/0.5365, allocations: 0.5074 MB / 0.5332 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03851/0.575, allocations: 13.56 MB / 0.5464 GB, free: 272 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/0.6834, allocations: 41.62 MB / 0.5871 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/0.7014, allocations: 7.9 MB / 0.5948 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00654/0.7079, allocations: 2.756 MB / 0.5975 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000626/0.7085, allocations: 117 kB / 0.5976 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.7086, allocations: 73.5 kB / 0.5977 GB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=375): time 6.583e-06/0.7087, allocations: 0 / 0.5977 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=382): time 0.227/0.9356, allocations: 14.66 MB / 0.612 GB, free: 141.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.9357, allocations: 91.77 kB / 0.6121 GB, free: 141.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007894/0.9436, allocations: 3.443 MB / 0.6154 GB, free: 141 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007194/0.9443, allocations: 87.45 kB / 0.6155 GB, free: 140.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002611/0.9469, allocations: 4.081 MB / 0.6195 GB, free: 138.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/0.9485, allocations: 1.356 MB / 0.6208 GB, free: 137.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003106/0.9516, allocations: 1.145 MB / 0.6219 GB, free: 136.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.9516, allocations: 306.5 kB / 0.6222 GB, free: 136.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/0.9559, allocations: 2.549 MB / 0.6247 GB, free: 135.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006465/0.9624, allocations: 5.038 MB / 0.6296 GB, free: 131.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.973, allocations: 8.223 MB / 0.6377 GB, free: 125.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/0.9731, allocations: 22.88 kB / 0.6377 GB, free: 125.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.0175/0.9906, allocations: 8.78 MB / 0.6463 GB, free: 122.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/0.9907, allocations: 39.09 kB / 0.6463 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/0.9909, allocations: 89.41 kB / 0.6464 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/0.9941, allocations: 1.009 MB / 0.6474 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/0.999, allocations: 1.343 MB / 0.6487 GB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009672/1.009, allocations: 7.38 MB / 0.6559 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/1.013, allocations: 324.6 kB / 0.6562 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.015, allocations: 303.2 kB / 0.6565 GB, free: 116 MB / 426.7 MB 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.006507/1.021, allocations: 3.482 MB / 0.6599 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/1.023, allocations: 0.5027 MB / 0.6604 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.034, allocations: 5.824 MB / 0.6661 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-05/1.035, allocations: 36 kB / 0.6661 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.035, allocations: 11.98 kB / 0.6661 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.627e-05/1.035, allocations: 15.94 kB / 0.6661 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02982/1.064, allocations: 12.62 MB / 0.6785 GB, free: 94.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/1.064, allocations: 9.859 kB / 0.6785 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/1.067, allocations: 0.6748 MB / 0.6791 GB, free: 94.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/1.07, allocations: 0.8552 MB / 0.68 GB, free: 93.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007119/1.071, allocations: 91.91 kB / 0.68 GB, free: 93.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008174/1.079, allocations: 6.421 MB / 0.6863 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/1.079, allocations: 11.88 kB / 0.6863 GB, free: 86.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/1.094, allocations: 8.657 MB / 0.6948 GB, free: 77.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/1.097, allocations: 0.8056 MB / 0.6956 GB, free: 77.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.099, allocations: 75.89 kB / 0.6956 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.102, allocations: 183.9 kB / 0.6958 GB, free: 76.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/1.103, allocations: 274.4 kB / 0.6961 GB, free: 76.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005957/1.103, allocations: 119.1 kB / 0.6962 GB, free: 76.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004712/1.108, allocations: 2.209 MB / 0.6984 GB, free: 74.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/1.108, allocations: 0 / 0.6984 GB, free: 74.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008179/1.116, allocations: 1.508 MB / 0.6998 GB, free: 72.71 MB / 426.7 MB 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.001157/1.117, allocations: 261.9 kB / 0.7001 GB, free: 72.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01131/1.129, allocations: 6.164 MB / 0.7061 GB, free: 66.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/1.129, allocations: 4 kB / 0.7061 GB, free: 66.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00574/1.134, allocations: 2.663 MB / 0.7087 GB, free: 63.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007391/1.142, allocations: 0.8525 MB / 0.7095 GB, free: 62.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/1.175, allocations: 15.82 MB / 0.725 GB, free: 46.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/1.187, allocations: 5.444 MB / 0.7303 GB, free: 41.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006218/1.193, allocations: 1.835 MB / 0.7321 GB, free: 39.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/1.195, allocations: 348.4 kB / 0.7324 GB, free: 39.14 MB / 426.7 MB Notification: Performance of SimCode: time 3.106e-06/1.195, allocations: 0 / 0.7324 GB, free: 39.14 MB / 426.7 MB Notification: Performance of Templates: time 0.2545/1.449, allocations: 52.86 MB / 0.784 GB, free: 122.3 MB / 426.7 MB " [Timeout remaining time 659] 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.078482012962922]