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.001771/0.001771, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.439/1.439, allocations: 177.2 MB / 200.1 MB, free: 9.305 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.001556/0.001556, allocations: 161.4 kB / 256.6 MB, free: 0.7773 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.03984/0.03984, allocations: 6.666 MB / 319.6 MB, free: 12.09 MB / 302.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.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: 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.004178/0.004178, allocations: 83.81 kB / 446.5 MB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3279, allocations: 55.58 MB / 0.4903 GB, free: 76.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.01793/0.3459, allocations: 22 MB / 0.5118 GB, free: 61.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3601, allocations: 7.698 MB / 0.5193 GB, free: 56.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004867/0.365, allocations: 203.5 kB / 0.5195 GB, free: 56.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01584/0.3809, allocations: 7.53 MB / 0.5268 GB, free: 52.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009895/0.3908, allocations: 3.098 MB / 0.5299 GB, free: 50.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005523/0.3963, allocations: 2.024 MB / 0.5318 GB, free: 48.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01241/0.4087, allocations: 9.39 MB / 0.541 GB, free: 44.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01918/0.4279, allocations: 11.18 MB / 0.5519 GB, free: 37.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008164/0.436, allocations: 4.886 MB / 0.5567 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.4464, allocations: 5.04 MB / 0.5616 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005196/0.4516, allocations: 1.353 MB / 0.5629 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007187/0.4588, allocations: 1.732 MB / 0.5646 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005565/0.4644, allocations: 2.669 MB / 0.5672 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01174/0.4761, allocations: 3.958 MB / 0.5711 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02046/0.4966, allocations: 18.3 MB / 0.589 GB, free: 8.496 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.4966, allocations: 0 / 0.589 GB, free: 8.496 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4966, allocations: 0 / 0.589 GB, free: 8.496 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005789/0.4971, allocations: 0 / 0.589 GB, free: 8.496 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.0333/0.5304, allocations: 10.88 MB / 0.5996 GB, free: 13.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5305, allocations: 8.031 kB / 0.5996 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03491/0.5654, allocations: 5.679 MB / 0.6052 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.5807, allocations: 5.833 MB / 0.6109 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007156/0.5815, allocations: 0.5819 MB / 0.6114 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003319/0.5848, allocations: 0.7616 MB / 0.6122 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03843/0.6232, allocations: 12.97 MB / 0.6248 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003488/0.6236, allocations: 19.83 kB / 0.6249 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002986/0.6265, allocations: 320 kB / 0.6252 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006693/0.6272, allocations: 0.5006 MB / 0.6256 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0317/0.6589, allocations: 12.23 MB / 0.6376 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5172/1.176, allocations: 36.69 MB / 0.6734 GB, free: 89.55 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/1.192, allocations: 8.92 MB / 0.6821 GB, free: 88.85 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003888/1.196, allocations: 2.712 MB / 0.6848 GB, free: 87.82 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/1.196, allocations: 100.1 kB / 0.6849 GB, free: 87.8 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003187/1.199, allocations: 2.789 MB / 0.6876 GB, free: 86.46 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=391): time 6.923e-06/1.199, allocations: 3.938 kB / 0.6876 GB, free: 86.46 MB / 0.4982 GB Notification: Performance of matching and sorting (n=397): time 0.03793/1.237, allocations: 18.31 MB / 0.7055 GB, free: 78.18 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/1.237, allocations: 353.4 kB / 0.7058 GB, free: 77.8 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006955/1.244, allocations: 3.362 MB / 0.7091 GB, free: 76.54 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007905/1.245, allocations: 92.17 kB / 0.7092 GB, free: 76.46 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002895/1.248, allocations: 3.512 MB / 0.7126 GB, free: 74.23 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00177/1.25, allocations: 1.425 MB / 0.714 GB, free: 73.13 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002153/1.252, allocations: 1.1 MB / 0.7151 GB, free: 72.61 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/1.252, allocations: 306.2 kB / 0.7154 GB, free: 72.31 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005129/1.257, allocations: 2.581 MB / 0.7179 GB, free: 71.3 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006485/1.264, allocations: 4.72 MB / 0.7225 GB, free: 67.61 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/1.275, allocations: 7.469 MB / 0.7298 GB, free: 62.59 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001513/1.275, allocations: 17.94 kB / 0.7298 GB, free: 62.59 MB / 0.4982 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01701/1.292, allocations: 8.291 MB / 0.7379 GB, free: 59.21 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.292, allocations: 60.12 kB / 0.738 GB, free: 59.18 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/1.292, allocations: 62.53 kB / 0.738 GB, free: 59.18 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/1.295, allocations: 0.9982 MB / 0.739 GB, free: 58.97 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/1.299, allocations: 1.263 MB / 0.7402 GB, free: 58.85 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.312, allocations: 8.513 MB / 0.7486 GB, free: 54.11 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005502/1.317, allocations: 356.8 kB / 0.7489 GB, free: 54 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.319, allocations: 269 kB / 0.7492 GB, free: 53.95 MB / 0.4982 GB 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.00618/1.325, allocations: 2.9 MB / 0.752 GB, free: 52.41 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.326, allocations: 385.3 kB / 0.7524 GB, free: 52.2 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.337, allocations: 6.17 MB / 0.7584 GB, free: 49.61 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/1.337, allocations: 47.16 kB / 0.7584 GB, free: 49.61 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/1.337, allocations: 7.812 kB / 0.7584 GB, free: 49.61 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-05/1.337, allocations: 24.28 kB / 0.7585 GB, free: 49.61 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02171/1.359, allocations: 12.74 MB / 0.7709 GB, free: 38.07 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.359, allocations: 4 kB / 0.7709 GB, free: 38.06 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.361, allocations: 0.6909 MB / 0.7716 GB, free: 37.37 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002275/1.364, allocations: 0.876 MB / 0.7724 GB, free: 36.49 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003686/1.364, allocations: 87.97 kB / 0.7725 GB, free: 36.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009206/1.373, allocations: 7.476 MB / 0.7798 GB, free: 28.84 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.373, allocations: 12.11 kB / 0.7798 GB, free: 28.82 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/1.386, allocations: 8.818 MB / 0.7884 GB, free: 19.86 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/1.389, allocations: 0.8332 MB / 0.7893 GB, free: 19.02 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.39, allocations: 72 kB / 0.7893 GB, free: 18.95 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/1.392, allocations: 195.8 kB / 0.7895 GB, free: 18.76 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005802/1.393, allocations: 291 kB / 0.7898 GB, free: 18.48 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/1.393, allocations: 120 kB / 0.7899 GB, free: 18.36 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003022/1.396, allocations: 2.165 MB / 0.792 GB, free: 16.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.1e-07/1.396, allocations: 0 / 0.792 GB, free: 16.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.005538/1.402, allocations: 1.453 MB / 0.7934 GB, free: 14.74 MB / 0.4982 GB 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.0006389/1.402, allocations: 258.2 kB / 0.7937 GB, free: 14.49 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.009755/1.412, allocations: 6.286 MB / 0.7998 GB, free: 8.176 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.412, allocations: 4 kB / 0.7998 GB, free: 8.172 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004824/1.417, allocations: 2.912 MB / 0.8027 GB, free: 5.227 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/1.421, allocations: 0.7041 MB / 0.8034 GB, free: 4.543 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/1.447, allocations: 13.99 MB / 0.817 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007305/1.455, allocations: 4.53 MB / 0.8214 GB, free: 1.855 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005055/1.46, allocations: 1.561 MB / 0.823 GB, free: 296 kB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.461, allocations: 340.5 kB / 0.8233 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of SimCode: time 1.303e-06/1.461, allocations: 3.938 kB / 0.8233 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.1115/1.572, allocations: 54.19 MB / 0.8762 GB, free: 10.35 MB / 0.5763 GB " [Timeout remaining time 658] 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=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.142278877086937] Failed to read output from testmodel.py, exit status != 0: 1.5857362969545648 1.79053958 1.290384389 Calling exit ...