Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.000826/0.000826, allocations: 72.5 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.8731/0.8731, allocations: 177.2 MB / 200.2 MB, free: 5.941 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: 156.5 kB / 256.7 MB, free: 13.36 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.02147/0.02147, allocations: 6.659 MB / 319.8 MB, free: 26.76 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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 446.7 MB, free: 37.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.602e-05, allocations: 4.812 kB / 446.7 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.01881/0.01884, allocations: 22.03 MB / 468.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.03294, allocations: 7.706 MB / 476.4 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.03687, allocations: 207 kB / 476.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008729/0.04559, allocations: 7.543 MB / 484.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.05123, allocations: 3.177 MB / 487.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.05414, allocations: 2.01 MB / 489.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007759/0.0619, allocations: 9.704 MB / 499.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.07258, allocations: 11.23 MB / 0.4983 GB, free: 5.152 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006321/0.0789, allocations: 7.137 MB / 0.5053 GB, free: 14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004107/0.08301, allocations: 4.521 MB / 0.5097 GB, free: 9.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.08404, allocations: 1.352 MB / 0.5111 GB, free: 8.121 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.08597, allocations: 1.734 MB / 0.5127 GB, free: 6.387 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.08722, allocations: 2.731 MB / 0.5154 GB, free: 3.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.0896, allocations: 3.423 MB / 0.5188 GB, free: 224 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.1038, allocations: 18.48 MB / 0.5368 GB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1038, allocations: 3.938 kB / 0.5368 GB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1038, allocations: 0 / 0.5368 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004357/0.1042, allocations: 0 / 0.5368 GB, free: 13.69 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.01753/0.1218, allocations: 10.8 MB / 0.5473 GB, free: 2.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1218, allocations: 8.031 kB / 0.5474 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2582/0.38, allocations: 5.676 MB / 0.5529 GB, free: 96.13 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007709/0.3877, allocations: 5.844 MB / 0.5586 GB, free: 93.74 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.3879, allocations: 0.578 MB / 0.5592 GB, free: 93.48 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/0.3889, allocations: 0.7589 MB / 0.5599 GB, free: 93.23 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.4012, allocations: 12.98 MB / 0.5726 GB, free: 80.87 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.4013, allocations: 11.95 kB / 0.5726 GB, free: 80.86 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005205/0.4018, allocations: 325.2 kB / 0.5729 GB, free: 80.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.402, allocations: 0.4928 MB / 0.5734 GB, free: 80.05 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.413, allocations: 12.23 MB / 0.5853 GB, free: 67.8 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02941/0.4424, allocations: 36.69 MB / 0.6212 GB, free: 30.86 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008392/0.4508, allocations: 8.908 MB / 0.6299 GB, free: 22.93 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.453, allocations: 2.718 MB / 0.6325 GB, free: 20.21 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.4532, allocations: 103 kB / 0.6326 GB, free: 20.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/0.4552, allocations: 2.787 MB / 0.6353 GB, free: 17.2 MB / 410.8 MB Notification: Performance of pre-optimization done (n=391): time 4.93e-06/0.4552, allocations: 0 / 0.6353 GB, free: 17.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=397): time 0.01938/0.4746, allocations: 18.31 MB / 0.6532 GB, free: 14.97 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4747, allocations: 355.5 kB / 0.6536 GB, free: 14.55 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/0.4779, allocations: 3.365 MB / 0.6568 GB, free: 11.17 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.478, allocations: 93.7 kB / 0.6569 GB, free: 11.07 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.4796, allocations: 3.489 MB / 0.6603 GB, free: 7.57 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007178/0.4803, allocations: 1.397 MB / 0.6617 GB, free: 6.195 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.4814, allocations: 1.093 MB / 0.6628 GB, free: 5.094 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.4815, allocations: 305.1 kB / 0.6631 GB, free: 4.793 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/0.4841, allocations: 2.585 MB / 0.6656 GB, free: 2.195 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/0.4874, allocations: 4.725 MB / 0.6702 GB, free: 12.54 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006545/0.494, allocations: 7.471 MB / 0.6775 GB, free: 4.195 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-05/0.494, allocations: 16 kB / 0.6775 GB, free: 4.18 MB / 442.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.008954/0.503, allocations: 8.284 MB / 0.6856 GB, free: 11.86 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.503, allocations: 57.7 kB / 0.6857 GB, free: 11.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.178e-05/0.5031, allocations: 63.98 kB / 0.6857 GB, free: 11.73 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.5047, allocations: 0.9967 MB / 0.6867 GB, free: 10.74 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.5069, allocations: 1.267 MB / 0.6879 GB, free: 9.469 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008063/0.515, allocations: 8.524 MB / 0.6963 GB, free: 0.8438 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.5172, allocations: 351.5 kB / 0.6966 GB, free: 0.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/0.5175, allocations: 275.9 kB / 0.6969 GB, free: 236 kB / 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.003552/0.521, allocations: 2.895 MB / 0.6997 GB, free: 13.32 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/0.5215, allocations: 389.7 kB / 0.7001 GB, free: 12.93 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006645/0.5282, allocations: 6.16 MB / 0.7061 GB, free: 6.711 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.5282, allocations: 47.94 kB / 0.7061 GB, free: 6.664 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.5282, allocations: 8 kB / 0.7061 GB, free: 6.656 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/0.5282, allocations: 19.92 kB / 0.7061 GB, free: 6.637 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.5415, allocations: 12.76 MB / 0.7186 GB, free: 9.812 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5415, allocations: 4 kB / 0.7186 GB, free: 9.809 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.5429, allocations: 0.6826 MB / 0.7193 GB, free: 9.125 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.5445, allocations: 0.8759 MB / 0.7201 GB, free: 8.246 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.5447, allocations: 91.97 kB / 0.7202 GB, free: 8.156 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006797/0.5515, allocations: 7.459 MB / 0.7275 GB, free: 0.6016 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5515, allocations: 8.031 kB / 0.7275 GB, free: 0.5938 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008571/0.56, allocations: 8.811 MB / 0.7361 GB, free: 7.641 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.5613, allocations: 0.8331 MB / 0.7369 GB, free: 6.805 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.5616, allocations: 79.94 kB / 0.737 GB, free: 6.727 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/0.5626, allocations: 191.8 kB / 0.7372 GB, free: 6.539 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/0.5629, allocations: 295 kB / 0.7375 GB, free: 6.25 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.563, allocations: 116 kB / 0.7376 GB, free: 6.137 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002063/0.5651, allocations: 2.169 MB / 0.7397 GB, free: 3.969 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5e-08/0.5651, allocations: 0 / 0.7397 GB, free: 3.969 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003421/0.5685, allocations: 1.449 MB / 0.7411 GB, free: 2.52 MB / 0.4949 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.0003801/0.5689, allocations: 258.8 kB / 0.7414 GB, free: 2.262 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.1315/0.7004, allocations: 6.266 MB / 0.7475 GB, free: 182.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7004, allocations: 3.844 kB / 0.7475 GB, free: 182.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.7035, allocations: 2.906 MB / 0.7503 GB, free: 181.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.7056, allocations: 0.7337 MB / 0.751 GB, free: 181.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.7181, allocations: 13.67 MB / 0.7644 GB, free: 172.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/0.7206, allocations: 4.384 MB / 0.7687 GB, free: 169.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009866/0.7216, allocations: 392.7 kB / 0.769 GB, free: 169.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.132e-06/0.7216, allocations: 3.938 kB / 0.769 GB, free: 169.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.08043/0.802, allocations: 135.4 MB / 0.9012 GB, free: 34.38 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.431041461415589] Failed to read output from testmodel.py, exit status != 0: 0.8084608372300863 0.813383919 0.7081835559999999 Calling exit ...