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.001537/0.001537, allocations: 74.36 kB / 19.01 MB, free: 2.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.469/1.469, allocations: 177.2 MB / 199.3 MB, free: 9.461 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.001746/0.001746, allocations: 169.4 kB / 255.8 MB, free: 0.9023 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.03873/0.03873, allocations: 6.671 MB / 318.9 MB, free: 48.49 MB / 286.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_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: 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.00272/0.00272, allocations: 80.25 kB / 445.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2432, allocations: 55.57 MB / 0.4895 GB, free: 26.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.01829/0.2615, allocations: 21.98 MB / 0.511 GB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.2788, allocations: 7.703 MB / 0.5185 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006585/0.2854, allocations: 207 kB / 0.5187 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02088/0.3063, allocations: 7.537 MB / 0.5261 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.3172, allocations: 3.09 MB / 0.5291 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006844/0.324, allocations: 2.022 MB / 0.531 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01462/0.3386, allocations: 9.399 MB / 0.5402 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02303/0.3617, allocations: 11.19 MB / 0.5511 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/0.3773, allocations: 7.341 MB / 0.5583 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009774/0.3871, allocations: 5.045 MB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00351/0.3906, allocations: 1.352 MB / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005217/0.3958, allocations: 1.722 MB / 0.5662 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004487/0.4003, allocations: 2.681 MB / 0.5689 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009564/0.4099, allocations: 3.957 MB / 0.5727 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02432/0.4342, allocations: 18.29 MB / 0.5906 GB, free: 2.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4342, allocations: 4 kB / 0.5906 GB, free: 2.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4342, allocations: 0 / 0.5906 GB, free: 2.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004157/0.4346, allocations: 0 / 0.5906 GB, free: 2.164 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.03335/0.468, allocations: 10.88 MB / 0.6012 GB, free: 7.199 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.468, allocations: 12.03 kB / 0.6012 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03379/0.5018, allocations: 5.669 MB / 0.6068 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4431/0.9449, allocations: 5.836 MB / 0.6125 GB, free: 92.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009301/0.9458, allocations: 0.5811 MB / 0.613 GB, free: 92.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004431/0.9503, allocations: 0.7639 MB / 0.6138 GB, free: 92.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/0.9854, allocations: 12.97 MB / 0.6264 GB, free: 86.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004118/0.9858, allocations: 19.3 kB / 0.6265 GB, free: 86.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002826/0.9886, allocations: 319.6 kB / 0.6268 GB, free: 85.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005046/0.9891, allocations: 0.4978 MB / 0.6272 GB, free: 85.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/1.014, allocations: 12.24 MB / 0.6392 GB, free: 73.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06544/1.079, allocations: 36.69 MB / 0.675 GB, free: 36.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.015/1.094, allocations: 8.911 MB / 0.6837 GB, free: 28.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/1.098, allocations: 2.722 MB / 0.6864 GB, free: 25.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/1.098, allocations: 94.98 kB / 0.6865 GB, free: 25.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003241/1.101, allocations: 2.791 MB / 0.6892 GB, free: 22.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 6.993e-06/1.101, allocations: 0 / 0.6892 GB, free: 22.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.03051/1.132, allocations: 18.31 MB / 0.7071 GB, free: 4.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/1.132, allocations: 351.5 kB / 0.7074 GB, free: 4.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/1.136, allocations: 3.365 MB / 0.7107 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004111/1.136, allocations: 89.7 kB / 0.7108 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002339/1.139, allocations: 3.516 MB / 0.7142 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001521/1.14, allocations: 1.412 MB / 0.7156 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/1.142, allocations: 1.101 MB / 0.7167 GB, free: 10.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/1.142, allocations: 305.1 kB / 0.717 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/1.146, allocations: 2.585 MB / 0.7195 GB, free: 7.891 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006345/1.152, allocations: 4.717 MB / 0.7241 GB, free: 2.242 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/1.164, allocations: 7.469 MB / 0.7314 GB, free: 9.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.777e-05/1.164, allocations: 20 kB / 0.7314 GB, free: 9.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01543/1.179, allocations: 8.299 MB / 0.7395 GB, free: 1.555 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/1.179, allocations: 53.7 kB / 0.7396 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.179, allocations: 64 kB / 0.7396 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/1.182, allocations: 0.9929 MB / 0.7406 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/1.187, allocations: 1.26 MB / 0.7418 GB, free: 15.18 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/1.201, allocations: 8.539 MB / 0.7502 GB, free: 6.539 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/1.206, allocations: 347.5 kB / 0.7505 GB, free: 6.199 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.207, allocations: 283.9 kB / 0.7508 GB, free: 5.922 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.006142/1.213, allocations: 2.895 MB / 0.7536 GB, free: 3.008 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.214, allocations: 385.5 kB / 0.754 GB, free: 2.629 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.227, allocations: 6.164 MB / 0.76 GB, free: 12.41 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/1.227, allocations: 40 kB / 0.76 GB, free: 12.37 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.741e-05/1.227, allocations: 12 kB / 0.76 GB, free: 12.36 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/1.227, allocations: 20.11 kB / 0.7601 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02591/1.253, allocations: 12.75 MB / 0.7725 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.253, allocations: 11.94 kB / 0.7725 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/1.256, allocations: 0.6904 MB / 0.7732 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002596/1.259, allocations: 0.8721 MB / 0.7741 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004925/1.259, allocations: 87.97 kB / 0.7741 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.271, allocations: 7.463 MB / 0.7814 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.271, allocations: 4 kB / 0.7814 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.286, allocations: 8.818 MB / 0.79 GB, free: 13.32 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.289, allocations: 0.8292 MB / 0.7909 GB, free: 12.49 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.29, allocations: 83.94 kB / 0.7909 GB, free: 12.41 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/1.292, allocations: 191.8 kB / 0.7911 GB, free: 12.22 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006549/1.293, allocations: 291 kB / 0.7914 GB, free: 11.94 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/1.293, allocations: 116 kB / 0.7915 GB, free: 11.82 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.004232/1.297, allocations: 2.165 MB / 0.7936 GB, free: 9.66 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.2e-07/1.297, allocations: 0 / 0.7936 GB, free: 9.66 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.005457/1.303, allocations: 1.453 MB / 0.795 GB, free: 8.207 MB / 0.5451 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.0006644/1.303, allocations: 258.1 kB / 0.7953 GB, free: 7.949 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.315, allocations: 6.286 MB / 0.8014 GB, free: 1.629 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.315, allocations: 0 / 0.8014 GB, free: 1.629 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.005663/1.321, allocations: 2.912 MB / 0.8043 GB, free: 14.69 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/1.326, allocations: 0.722 MB / 0.805 GB, free: 13.98 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02868/1.354, allocations: 13.99 MB / 0.8186 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008072/1.362, allocations: 4.522 MB / 0.823 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004583/1.367, allocations: 1.564 MB / 0.8246 GB, free: 9.738 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.368, allocations: 348.3 kB / 0.8249 GB, free: 9.398 MB / 0.5763 GB Notification: Performance of SimCode: time 1.213e-06/1.368, allocations: 0 / 0.8249 GB, free: 9.398 MB / 0.5763 GB Notification: Performance of Templates: time 0.3488/1.717, allocations: 54.18 MB / 0.8778 GB, free: 175.3 MB / 0.5763 GB " [Timeout remaining time 658] 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.102809123694897] Failed to read output from testmodel.py, exit status != 0: 1.72617544606328 1.7360503 1.29921837 Calling exit ...