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.0007361/0.0007361, allocations: 80.48 kB / 19.93 MB, free: 4.621 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 0.8383/0.8383, allocations: 177.1 MB / 200.2 MB, free: 5.949 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.001005/0.001005, allocations: 160.7 kB / 256.7 MB, free: 13.34 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.02145/0.02145, allocations: 6.657 MB / 319.8 MB, free: 26.78 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.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 1.613e-06/1.613e-06, allocations: 0 / 446.7 MB, free: 37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.823e-05, allocations: 5.234 kB / 446.7 MB, free: 37 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.01215/0.01217, allocations: 23.88 MB / 470.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007625/0.0198, allocations: 7.835 MB / 478.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.02123, allocations: 246.8 kB / 478.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006109/0.02734, allocations: 7.818 MB / 486.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.03066, allocations: 2.808 MB / 489.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.03258, allocations: 1.817 MB / 491.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006084/0.03867, allocations: 10.13 MB / 0.4895 GB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.05026, allocations: 13.77 MB / 0.5029 GB, free: 352 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007407/0.05766, allocations: 7.972 MB / 0.5107 GB, free: 8.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005907/0.06357, allocations: 5.173 MB / 0.5157 GB, free: 3.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001852/0.06542, allocations: 1.516 MB / 0.5172 GB, free: 1.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.0678, allocations: 1.898 MB / 0.5191 GB, free: 15.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.06933, allocations: 2.992 MB / 0.522 GB, free: 12.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003515/0.07284, allocations: 3.84 MB / 0.5258 GB, free: 8.914 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.08796, allocations: 20.6 MB / 0.5459 GB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.08796, allocations: 4 kB / 0.5459 GB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08796, allocations: 0 / 0.5459 GB, free: 4.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000353/0.08832, allocations: 0 / 0.5459 GB, free: 4.258 MB / 410.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.01771/0.106, allocations: 11.65 MB / 0.5573 GB, free: 8.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1061, allocations: 15.97 kB / 0.5573 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.1205, allocations: 5.566 MB / 0.5627 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2543/0.3748, allocations: 6.256 MB / 0.5688 GB, free: 106.6 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004674/0.3753, allocations: 0.6935 MB / 0.5695 GB, free: 106.3 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.3765, allocations: 0.9074 MB / 0.5704 GB, free: 106 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.39, allocations: 15.04 MB / 0.5851 GB, free: 96.63 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.3901, allocations: 21.75 kB / 0.5851 GB, free: 96.62 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005714/0.3907, allocations: 383 kB / 0.5854 GB, free: 96.26 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/0.3909, allocations: 0.5074 MB / 0.5859 GB, free: 95.75 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.4023, allocations: 13.56 MB / 0.5992 GB, free: 82.19 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02784/0.4301, allocations: 40.51 MB / 0.6387 GB, free: 41.59 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006437/0.4366, allocations: 7.85 MB / 0.6464 GB, free: 34.96 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.4387, allocations: 2.747 MB / 0.6491 GB, free: 32.22 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.4388, allocations: 94.86 kB / 0.6492 GB, free: 32.13 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.4388, allocations: 70.08 kB / 0.6492 GB, free: 32.05 MB / 426.8 MB Notification: Performance of pre-optimization done (n=375): time 5.18e-06/0.4388, allocations: 3.938 kB / 0.6493 GB, free: 32.05 MB / 426.8 MB Notification: Performance of matching and sorting (n=382): time 0.01447/0.4533, allocations: 14.54 MB / 0.6635 GB, free: 17.86 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4534, allocations: 90.41 kB / 0.6635 GB, free: 17.75 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/0.4556, allocations: 3.437 MB / 0.6669 GB, free: 14.41 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.4557, allocations: 89.7 kB / 0.667 GB, free: 14.32 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008639/0.4566, allocations: 4.079 MB / 0.671 GB, free: 10.33 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/0.457, allocations: 1.358 MB / 0.6723 GB, free: 8.992 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008792/0.4579, allocations: 1.148 MB / 0.6734 GB, free: 7.832 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.046e-05/0.4579, allocations: 301.1 kB / 0.6737 GB, free: 7.535 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.4598, allocations: 2.553 MB / 0.6762 GB, free: 4.977 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/0.4625, allocations: 5.04 MB / 0.6811 GB, free: 14.77 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006524/0.4691, allocations: 8.218 MB / 0.6891 GB, free: 5.379 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/0.4691, allocations: 24 kB / 0.6892 GB, free: 5.355 MB / 442.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.008264/0.4774, allocations: 8.488 MB / 0.6974 GB, free: 12.83 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.4774, allocations: 40 kB / 0.6975 GB, free: 12.79 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.63e-05/0.4774, allocations: 80 kB / 0.6976 GB, free: 12.71 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.4787, allocations: 0.8317 MB / 0.6984 GB, free: 11.88 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/0.4811, allocations: 1.349 MB / 0.6997 GB, free: 10.53 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.4877, allocations: 7.334 MB / 0.7069 GB, free: 3.102 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.4893, allocations: 327.5 kB / 0.7072 GB, free: 2.781 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.4896, allocations: 304 kB / 0.7075 GB, free: 2.484 MB / 458.8 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.003675/0.4933, allocations: 3.473 MB / 0.7108 GB, free: 15 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.4937, allocations: 401.4 kB / 0.7112 GB, free: 14.61 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006084/0.4997, allocations: 5.828 MB / 0.7169 GB, free: 8.738 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.4998, allocations: 36 kB / 0.717 GB, free: 8.703 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4998, allocations: 8 kB / 0.717 GB, free: 8.695 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.4998, allocations: 19.92 kB / 0.717 GB, free: 8.676 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.5127, allocations: 12.62 MB / 0.7293 GB, free: 12.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.5127, allocations: 4 kB / 0.7293 GB, free: 12.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.514, allocations: 0.6787 MB / 0.73 GB, free: 11.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.515, allocations: 0.6978 MB / 0.7307 GB, free: 10.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.5151, allocations: 87.97 kB / 0.7307 GB, free: 10.56 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005613/0.5208, allocations: 6.376 MB / 0.737 GB, free: 4.086 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5208, allocations: 7.938 kB / 0.737 GB, free: 4.078 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00797/0.5287, allocations: 8.532 MB / 0.7453 GB, free: 11.42 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.5298, allocations: 0.8057 MB / 0.7461 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.53, allocations: 79.92 kB / 0.7462 GB, free: 10.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/0.5308, allocations: 175.8 kB / 0.7463 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.5311, allocations: 278.4 kB / 0.7466 GB, free: 10.09 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.5313, allocations: 112 kB / 0.7467 GB, free: 9.977 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001942/0.5332, allocations: 2.213 MB / 0.7489 GB, free: 7.77 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.5332, allocations: 0 / 0.7489 GB, free: 7.77 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003194/0.5364, allocations: 1.516 MB / 0.7503 GB, free: 6.254 MB / 0.4949 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.0003643/0.5368, allocations: 250.8 kB / 0.7506 GB, free: 6.004 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.1331/0.6699, allocations: 6.159 MB / 0.7566 GB, free: 178.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.6699, allocations: 1.281 kB / 0.7566 GB, free: 178.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003544/0.6734, allocations: 2.664 MB / 0.7592 GB, free: 178.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.676, allocations: 0.8306 MB / 0.76 GB, free: 178.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.6907, allocations: 15.33 MB / 0.775 GB, free: 172 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/0.6935, allocations: 5.266 MB / 0.7801 GB, free: 168.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007511/0.6943, allocations: 383.6 kB / 0.7805 GB, free: 167.7 MB / 0.4949 GB Notification: Performance of SimCode: time 1.223e-06/0.6943, allocations: 0 / 0.7805 GB, free: 167.7 MB / 0.4949 GB Notification: Performance of Templates: time 0.07796/0.7722, allocations: 151.4 MB / 0.9283 GB, free: 17.14 MB / 0.4949 GB " [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: 9.186631700024009] Failed to read output from testmodel.py, exit status != 0: 0.7769931517541409 0.9139267169999999 0.824212035 Calling exit ...