Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.0007285/0.0007285, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.8283/0.8283, allocations: 177.2 MB / 200.2 MB, free: 5.961 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.001104/0.001104, allocations: 160.6 kB / 256.7 MB, free: 13.37 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.02163/0.02163, allocations: 6.661 MB / 319.8 MB, free: 26.79 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.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 4 kB / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.684e-05, allocations: 2.281 kB / 446.7 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.01156/0.01158, allocations: 22.01 MB / 468.7 MB, free: 15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.02093, allocations: 7.702 MB / 476.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.02319, allocations: 199.1 kB / 476.6 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005886/0.02908, allocations: 7.558 MB / 484.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.03443, allocations: 3.168 MB / 487.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.03748, allocations: 2.027 MB / 489.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007885/0.04536, allocations: 9.693 MB / 499 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.05708, allocations: 11.22 MB / 0.4983 GB, free: 5.223 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006571/0.06365, allocations: 7.137 MB / 0.5053 GB, free: 14.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004852/0.06851, allocations: 4.518 MB / 0.5097 GB, free: 9.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.06991, allocations: 1.355 MB / 0.511 GB, free: 8.191 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.07179, allocations: 1.745 MB / 0.5127 GB, free: 6.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.07313, allocations: 2.727 MB / 0.5154 GB, free: 3.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003252/0.07638, allocations: 3.415 MB / 0.5187 GB, free: 296 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.0894, allocations: 18.49 MB / 0.5368 GB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.08941, allocations: 0 / 0.5368 GB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.08941, allocations: 0 / 0.5368 GB, free: 13.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003213/0.08973, allocations: 0 / 0.5368 GB, free: 13.75 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.01868/0.1084, allocations: 10.8 MB / 0.5473 GB, free: 2.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1084, allocations: 12.02 kB / 0.5473 GB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/0.1243, allocations: 5.676 MB / 0.5529 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00888/0.1332, allocations: 5.833 MB / 0.5586 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.1335, allocations: 0.5819 MB / 0.5591 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.1348, allocations: 0.7577 MB / 0.5599 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2667/0.4015, allocations: 12.97 MB / 0.5725 GB, free: 104.4 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.4017, allocations: 12.2 kB / 0.5725 GB, free: 104.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005463/0.4022, allocations: 325.3 kB / 0.5729 GB, free: 104.2 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002432/0.4024, allocations: 0.4991 MB / 0.5733 GB, free: 104.1 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.4143, allocations: 12.22 MB / 0.5853 GB, free: 98.29 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03795/0.4523, allocations: 36.69 MB / 0.6211 GB, free: 61.57 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009004/0.4613, allocations: 8.907 MB / 0.6298 GB, free: 53.65 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/0.4636, allocations: 2.722 MB / 0.6325 GB, free: 50.94 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.4638, allocations: 94.98 kB / 0.6326 GB, free: 50.85 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002016/0.4658, allocations: 2.791 MB / 0.6353 GB, free: 47.94 MB / 426.8 MB Notification: Performance of pre-optimization done (n=391): time 5.23e-06/0.4658, allocations: 0 / 0.6353 GB, free: 47.94 MB / 426.8 MB Notification: Performance of matching and sorting (n=397): time 0.02084/0.4866, allocations: 18.32 MB / 0.6532 GB, free: 29.89 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.4867, allocations: 351.5 kB / 0.6535 GB, free: 29.47 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.4897, allocations: 3.368 MB / 0.6568 GB, free: 26.18 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.4898, allocations: 89.7 kB / 0.6569 GB, free: 26.08 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/0.4907, allocations: 3.497 MB / 0.6603 GB, free: 22.7 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/0.4913, allocations: 1.401 MB / 0.6617 GB, free: 21.32 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009421/0.4923, allocations: 1.089 MB / 0.6627 GB, free: 20.22 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.638e-05/0.4923, allocations: 305.1 kB / 0.663 GB, free: 19.92 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.4944, allocations: 2.578 MB / 0.6655 GB, free: 17.33 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/0.497, allocations: 4.721 MB / 0.6701 GB, free: 11.68 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005165/0.5022, allocations: 7.471 MB / 0.6774 GB, free: 3.336 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/0.5022, allocations: 16 kB / 0.6775 GB, free: 3.32 MB / 426.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.008798/0.511, allocations: 8.297 MB / 0.6856 GB, free: 10.99 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/0.5111, allocations: 65.62 kB / 0.6856 GB, free: 10.92 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-05/0.5112, allocations: 60 kB / 0.6857 GB, free: 10.86 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.5128, allocations: 0.9888 MB / 0.6866 GB, free: 9.871 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.5151, allocations: 1.267 MB / 0.6879 GB, free: 8.602 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008283/0.5234, allocations: 8.523 MB / 0.6962 GB, free: 15.98 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.5258, allocations: 347.5 kB / 0.6965 GB, free: 15.64 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.5261, allocations: 271.9 kB / 0.6968 GB, free: 15.38 MB / 458.8 MB 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.003943/0.53, allocations: 2.902 MB / 0.6996 GB, free: 12.46 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006062/0.5306, allocations: 393.4 kB / 0.7 GB, free: 12.07 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006755/0.5374, allocations: 6.164 MB / 0.706 GB, free: 5.844 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.5374, allocations: 40 kB / 0.7061 GB, free: 5.805 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.5374, allocations: 8 kB / 0.7061 GB, free: 5.797 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/0.5374, allocations: 24.11 kB / 0.7061 GB, free: 5.773 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.5517, allocations: 12.75 MB / 0.7185 GB, free: 8.957 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5517, allocations: 7.938 kB / 0.7186 GB, free: 8.949 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.5531, allocations: 0.6904 MB / 0.7192 GB, free: 8.258 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.5545, allocations: 0.8755 MB / 0.7201 GB, free: 7.379 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.5547, allocations: 91.97 kB / 0.7202 GB, free: 7.289 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006863/0.5616, allocations: 7.464 MB / 0.7275 GB, free: 15.73 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.5616, allocations: 11.97 kB / 0.7275 GB, free: 15.72 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00902/0.5706, allocations: 8.807 MB / 0.7361 GB, free: 6.773 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/0.5721, allocations: 0.8292 MB / 0.7369 GB, free: 5.941 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.5725, allocations: 76 kB / 0.737 GB, free: 5.867 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5735, allocations: 195.8 kB / 0.7371 GB, free: 5.676 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000377/0.5739, allocations: 291 kB / 0.7374 GB, free: 5.391 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.5741, allocations: 116 kB / 0.7375 GB, free: 5.277 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002277/0.5763, allocations: 2.169 MB / 0.7396 GB, free: 3.109 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5763, allocations: 0 / 0.7396 GB, free: 3.109 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003327/0.5797, allocations: 1.449 MB / 0.7411 GB, free: 1.66 MB / 490.8 MB 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.000431/0.5801, allocations: 258 kB / 0.7413 GB, free: 1.402 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00677/0.5869, allocations: 6.279 MB / 0.7474 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5869, allocations: 0 / 0.7474 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002976/0.5898, allocations: 2.906 MB / 0.7503 GB, free: 8.145 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.5918, allocations: 0.7197 MB / 0.751 GB, free: 7.445 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1699/0.7617, allocations: 13.68 MB / 0.7643 GB, free: 175.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002791/0.7645, allocations: 4.382 MB / 0.7686 GB, free: 175 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.7656, allocations: 393.9 kB / 0.769 GB, free: 175 MB / 0.4949 GB Notification: Performance of SimCode: time 1.002e-06/0.7656, allocations: 0 / 0.769 GB, free: 175 MB / 0.4949 GB Notification: Performance of Templates: time 0.08151/0.8471, allocations: 135.4 MB / 0.9012 GB, free: 47.75 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.965047531761229] Failed to read output from testmodel.py, exit status != 0: 0.8522197781130672 0.858925886 0.768160169 Calling exit ...