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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 110.7 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 242.7 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 195.6 kB / 295.1 MB, free: 12.67 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03813/0.03813, allocations: 8.805 MB / 356 MB, free: 15.92 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002247/0.002247, allocations: 87.86 kB / 473.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2042, allocations: 51.55 MB / 0.5126 GB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.02821/0.2325, allocations: 27.66 MB / 0.5396 GB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.2463, allocations: 8.022 MB / 0.5474 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.2498, allocations: 211.4 kB / 0.5476 GB, free: 9.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01621/0.266, allocations: 7.914 MB / 0.5554 GB, free: 1.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006951/0.273, allocations: 2.707 MB / 0.558 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.2771, allocations: 1.811 MB / 0.5598 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.288, allocations: 9.701 MB / 0.5692 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02861/0.3166, allocations: 21.19 MB / 0.5899 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007462/0.3241, allocations: 5.248 MB / 0.5951 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008851/0.333, allocations: 5.918 MB / 0.6008 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003468/0.3365, allocations: 1.516 MB / 0.6023 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/0.3413, allocations: 1.879 MB / 0.6042 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003604/0.345, allocations: 2.946 MB / 0.607 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007242/0.3522, allocations: 5.72 MB / 0.6126 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02152/0.3738, allocations: 20.32 MB / 0.6325 GB, free: 1.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3738, allocations: 0 / 0.6325 GB, free: 1.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3738, allocations: 3.984 kB / 0.6325 GB, free: 1.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003918/0.3742, allocations: 0 / 0.6325 GB, free: 1.859 MB / 446.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.02922/0.4034, allocations: 11.8 MB / 0.644 GB, free: 5.953 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4035, allocations: 8.031 kB / 0.644 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02828/0.4318, allocations: 5.644 MB / 0.6495 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.4437, allocations: 6.199 MB / 0.6556 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006474/0.4444, allocations: 0.6865 MB / 0.6562 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/0.4473, allocations: 0.91 MB / 0.6571 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3661/0.8135, allocations: 14.85 MB / 0.6716 GB, free: 117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001986/0.8137, allocations: 18.2 kB / 0.6716 GB, free: 117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009362/0.8146, allocations: 386.2 kB / 0.672 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003194/0.815, allocations: 0.5086 MB / 0.6725 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/0.8329, allocations: 13.58 MB / 0.6858 GB, free: 110.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05289/0.8858, allocations: 46.22 MB / 0.7309 GB, free: 67.53 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/0.8995, allocations: 28.31 MB / 0.7586 GB, free: 35.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003428/0.9029, allocations: 3.026 MB / 0.7615 GB, free: 32.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003779/0.9033, allocations: 244.6 kB / 0.7617 GB, free: 32.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/0.9034, allocations: 77.45 kB / 0.7618 GB, free: 32.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=375): time 6.762e-06/0.9034, allocations: 0 / 0.7618 GB, free: 32.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=382): time 0.02478/0.9282, allocations: 14.75 MB / 0.7762 GB, free: 17.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.9283, allocations: 90.41 kB / 0.7763 GB, free: 17.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004624/0.9329, allocations: 3.481 MB / 0.7797 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.9331, allocations: 89.7 kB / 0.7798 GB, free: 14.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.9346, allocations: 4.091 MB / 0.7838 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006676/0.9353, allocations: 1.381 MB / 0.7851 GB, free: 8.773 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.9367, allocations: 1.144 MB / 0.7862 GB, free: 7.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.133e-05/0.9367, allocations: 309.1 kB / 0.7865 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.9395, allocations: 2.549 MB / 0.789 GB, free: 4.758 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/0.9436, allocations: 5.008 MB / 0.7939 GB, free: 14.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.9541, allocations: 8.214 MB / 0.8019 GB, free: 5.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-05/0.9542, allocations: 24 kB / 0.802 GB, free: 5.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01429/0.9684, allocations: 8.523 MB / 0.8103 GB, free: 12.62 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.9685, allocations: 40.84 kB / 0.8103 GB, free: 12.58 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.9687, allocations: 80 kB / 0.8104 GB, free: 12.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.971, allocations: 0.8459 MB / 0.8112 GB, free: 11.66 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/0.9752, allocations: 1.345 MB / 0.8125 GB, free: 10.31 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.9864, allocations: 7.667 MB / 0.82 GB, free: 2.504 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/0.9897, allocations: 323.5 kB / 0.8203 GB, free: 2.188 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005551/0.9902, allocations: 307.9 kB / 0.8206 GB, free: 1.887 MB / 0.4982 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.005752/0.996, allocations: 3.479 MB / 0.824 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009642/0.997, allocations: 405.4 kB / 0.8244 GB, free: 14 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.008, allocations: 5.859 MB / 0.8301 GB, free: 8.102 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/1.008, allocations: 40 kB / 0.8302 GB, free: 8.062 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.289e-05/1.008, allocations: 11.98 kB / 0.8302 GB, free: 8.051 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-05/1.008, allocations: 15.94 kB / 0.8302 GB, free: 8.035 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0279/1.036, allocations: 14.5 MB / 0.8444 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.036, allocations: 4 kB / 0.8444 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.038, allocations: 0.6709 MB / 0.845 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/1.041, allocations: 0.7098 MB / 0.8457 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003724/1.041, allocations: 79.98 kB / 0.8458 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009796/1.051, allocations: 6.718 MB / 0.8524 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/1.051, allocations: 4.156 kB / 0.8524 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/1.065, allocations: 8.573 MB / 0.8607 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/1.067, allocations: 0.877 MB / 0.8616 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007681/1.068, allocations: 72 kB / 0.8617 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.07, allocations: 183.8 kB / 0.8618 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/1.07, allocations: 262.7 kB / 0.8621 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/1.071, allocations: 107.9 kB / 0.8622 GB, free: 6.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004371/1.075, allocations: 2.338 MB / 0.8645 GB, free: 4.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/1.075, allocations: 0 / 0.8645 GB, free: 4.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005555/1.081, allocations: 1.508 MB / 0.8659 GB, free: 3.102 MB / 0.545 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.0006148/1.081, allocations: 253.4 kB / 0.8662 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2039/1.285, allocations: 6.431 MB / 0.8725 GB, free: 188 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.285, allocations: 0 / 0.8725 GB, free: 188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003529/1.289, allocations: 2.884 MB / 0.8753 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/1.293, allocations: 0.8967 MB / 0.8762 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/1.311, allocations: 15.33 MB / 0.8911 GB, free: 180.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00405/1.316, allocations: 5.719 MB / 0.8967 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.317, allocations: 373 kB / 0.8971 GB, free: 178.1 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.317, allocations: 3.688 kB / 0.8971 GB, free: 178.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1196/1.436, allocations: 147.9 MB / 1.042 GB, free: 32.45 MB / 0.545 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: 13.413534032180905] Failed to read output from testmodel.py, exit status != 0: 1.441950528183952 1.449999914 1.074539892 Calling exit ...