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.001113/0.001113, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002527, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.026/1.026, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2177/1.243, allocations: 53.64 MB / 242 MB, free: 2.621 MB / 234.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.001152/0.001152, allocations: 156.8 kB / 242.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002444, allocations: 477.8 kB / 243.4 MB, free: 1.281 MB / 234.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.02562/0.02562, allocations: 6.65 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007607/0.03323, allocations: 2.672 MB / 253.5 MB, free: 7.41 MB / 250.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_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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 254.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.022e-05, allocations: 2.312 kB / 254.8 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.0235/0.02352, allocations: 24.25 MB / 279.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.04042, allocations: 8.33 MB / 287.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/0.04481, allocations: 203 kB / 287.6 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009586/0.0544, allocations: 8.105 MB / 295.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008909/0.06331, allocations: 3.157 MB / 298.9 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.06703, allocations: 2.04 MB / 300.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01204/0.07906, allocations: 9.749 MB / 310.6 MB, free: 14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01331/0.09237, allocations: 11.26 MB / 321.9 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1967/0.2891, allocations: 7.551 MB / 329.5 MB, free: 16.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009919/0.299, allocations: 5.123 MB / 334.6 MB, free: 16.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003481/0.3025, allocations: 1.347 MB / 335.9 MB, free: 16.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.3068, allocations: 1.753 MB / 337.7 MB, free: 16.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.3084, allocations: 2.219 MB / 339.9 MB, free: 16.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003509/0.3119, allocations: 2.89 MB / 342.8 MB, free: 16.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00817/0.3201, allocations: 8.097 MB / 350.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.796e-05/0.3201, allocations: 5.625 kB / 350.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3201, allocations: 0 / 350.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005361/0.3206, allocations: 0.5938 kB / 350.9 MB, free: 15.69 MB / 314.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.01913/0.3398, allocations: 11.85 MB / 362.7 MB, free: 7.836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3398, allocations: 8.031 kB / 362.7 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/0.3565, allocations: 5.797 MB / 368.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006914/0.3634, allocations: 3.144 MB / 371.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.3637, allocations: 0.5788 MB / 372.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009034/0.3646, allocations: 0.772 MB / 373 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3747, allocations: 6.441 MB / 379.5 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.3749, allocations: 9.906 kB / 379.5 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005996/0.3755, allocations: 323.6 kB / 379.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003896/0.3759, allocations: 488.6 kB / 380.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.3819, allocations: 3.328 MB / 383.6 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03252/0.4144, allocations: 25.76 MB / 409.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006696/0.4211, allocations: 5.322 MB / 414.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.4222, allocations: 0.9903 MB / 415.7 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/0.4225, allocations: 127 kB / 415.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.4239, allocations: 1.514 MB / 417.3 MB, free: 4.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=391): time 5.641e-06/0.4239, allocations: 0 / 417.3 MB, free: 4.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.01874/0.4426, allocations: 8.489 MB / 425.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003565/0.443, allocations: 171.6 kB / 426 MB, free: 12.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.4455, allocations: 2.25 MB / 428.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.4457, allocations: 85.7 kB / 428.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.4474, allocations: 3.191 MB / 431.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009534/0.4484, allocations: 1.408 MB / 432.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.45, allocations: 1.005 MB / 433.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.4501, allocations: 305.1 kB / 434.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.4514, allocations: 0.7428 MB / 435 MB, free: 4.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.4536, allocations: 2.706 MB / 437.7 MB, free: 0.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004798/0.4584, allocations: 4.015 MB / 441.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-05/0.4585, allocations: 16 kB / 441.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005937/0.4644, allocations: 3.668 MB / 445.4 MB, free: 8.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.4645, allocations: 57.7 kB / 445.4 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-05/0.4645, allocations: 63.94 kB / 445.5 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.4666, allocations: 0.8655 MB / 446.3 MB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/0.47, allocations: 1.335 MB / 447.7 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/0.4758, allocations: 4.272 MB / 452 MB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.4783, allocations: 227.8 kB / 452.2 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003629/0.4786, allocations: 219.9 kB / 452.4 MB, free: 1.914 MB / 394.7 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.001917/0.4806, allocations: 0.4937 MB / 452.9 MB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/0.4812, allocations: 351.7 kB / 453.2 MB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.4856, allocations: 2.771 MB / 456 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/0.4857, allocations: 44 kB / 456 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.4857, allocations: 11.94 kB / 456.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/0.4857, allocations: 19.92 kB / 456.1 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.4974, allocations: 7.559 MB / 463.6 MB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.4974, allocations: 4 kB / 463.6 MB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/0.4995, allocations: 0.7105 MB / 464.3 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.5006, allocations: 479.8 kB / 464.8 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.502, allocations: 0.7538 MB / 465.6 MB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.5021, allocations: 83.97 kB / 465.7 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/0.5061, allocations: 3.856 MB / 469.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5061, allocations: 4 kB / 469.5 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004243/0.5104, allocations: 3.268 MB / 472.8 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003698/0.5107, allocations: 76.05 kB / 472.9 MB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/0.5116, allocations: 104 kB / 473 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/0.5119, allocations: 282.8 kB / 473.2 MB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.5121, allocations: 83.97 kB / 473.3 MB, free: 13.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.5132, allocations: 1.045 MB / 474.4 MB, free: 13.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5132, allocations: 0 / 474.4 MB, free: 13.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00406/0.5173, allocations: 1.449 MB / 475.8 MB, free: 11.59 MB / 426.7 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.0004591/0.5178, allocations: 234.7 kB / 476 MB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004359/0.5221, allocations: 3.163 MB / 479.2 MB, free: 8.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001568/0.5223, allocations: 91.28 kB / 479.3 MB, free: 8.395 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003417/0.5257, allocations: 2.611 MB / 481.9 MB, free: 5.871 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.158/0.6837, allocations: 5.812 MB / 487.7 MB, free: 119 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05062/0.7343, allocations: 11.25 MB / 499 MB, free: 114.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.736, allocations: 1.527 MB / 0.4888 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002224/0.7382, allocations: 0.6456 MB / 0.4894 GB, free: 114.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.7396, allocations: 0.817 MB / 0.4902 GB, free: 114.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7396, allocations: 0 / 0.4902 GB, free: 114.4 MB / 426.7 MB Notification: Performance of Templates: time 0.07678/0.8164, allocations: 62.85 MB / 0.5516 GB, free: 72.28 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.68681800365448]