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.001946/0.001946, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.544/1.544, allocations: 177.1 MB / 199.7 MB, free: 5.805 MB / 186.7 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.001726/0.001726, allocations: 156.6 kB / 256.3 MB, free: 13.17 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.03649/0.03649, allocations: 6.659 MB / 319.4 MB, free: 26.57 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_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 2.134e-06/2.134e-06, allocations: 0 / 391 MB, free: 2.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.6e-05/4.813e-05, allocations: 10.05 kB / 391 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.2111/0.2111, allocations: 22.03 MB / 413 MB, free: 68.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.231, allocations: 7.736 MB / 420.7 MB, free: 67.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007807/0.2389, allocations: 200.6 kB / 420.9 MB, free: 67.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0193/0.2582, allocations: 7.55 MB / 428.5 MB, free: 64.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.2699, allocations: 3.165 MB / 431.6 MB, free: 62.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007004/0.2769, allocations: 1.997 MB / 433.6 MB, free: 60.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01366/0.2906, allocations: 9.707 MB / 443.3 MB, free: 54.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02225/0.3128, allocations: 11.22 MB / 454.6 MB, free: 42.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/0.3297, allocations: 7.145 MB / 461.7 MB, free: 35.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008485/0.3382, allocations: 4.529 MB / 466.2 MB, free: 31.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004227/0.3424, allocations: 1.352 MB / 467.6 MB, free: 29.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006568/0.349, allocations: 1.733 MB / 469.3 MB, free: 28.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003948/0.3529, allocations: 2.727 MB / 472.1 MB, free: 25.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008329/0.3613, allocations: 3.411 MB / 475.5 MB, free: 21.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02229/0.3836, allocations: 18.49 MB / 494 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3836, allocations: 8 kB / 494 MB, free: 3.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3836, allocations: 0 / 494 MB, free: 3.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005651/0.3841, allocations: 0 / 494 MB, free: 3.438 MB / 330.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.03838/0.4225, allocations: 10.8 MB / 0.4929 GB, free: 8.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4226, allocations: 8.031 kB / 0.4929 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03812/0.4607, allocations: 7.039 MB / 0.4998 GB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/0.4777, allocations: 6.09 MB / 0.5058 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001392/0.4791, allocations: 0.5819 MB / 0.5063 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004437/0.4835, allocations: 0.7655 MB / 0.5071 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04171/0.5253, allocations: 12.97 MB / 0.5197 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004301/0.5257, allocations: 19.91 kB / 0.5198 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003726/0.5294, allocations: 320 kB / 0.5201 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008225/0.5302, allocations: 0.4928 MB / 0.5206 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03324/0.5635, allocations: 12.24 MB / 0.5325 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3507/0.9141, allocations: 37.6 MB / 0.5692 GB, free: 100.4 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/0.9313, allocations: 8.953 MB / 0.578 GB, free: 97.98 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004668/0.9359, allocations: 2.721 MB / 0.5806 GB, free: 96.79 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/0.9364, allocations: 117.7 kB / 0.5807 GB, free: 96.76 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004871/0.9413, allocations: 2.789 MB / 0.5835 GB, free: 94.89 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 1.209e-05/0.9413, allocations: 0 / 0.5835 GB, free: 94.89 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.04471/0.986, allocations: 18.46 MB / 0.6015 GB, free: 81.22 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.9862, allocations: 355.5 kB / 0.6018 GB, free: 80.8 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005998/0.9922, allocations: 3.361 MB / 0.6051 GB, free: 77.52 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008011/0.993, allocations: 97.7 kB / 0.6052 GB, free: 77.41 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002247/0.9952, allocations: 3.496 MB / 0.6086 GB, free: 74.38 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.9969, allocations: 1.393 MB / 0.61 GB, free: 73 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003278/1, allocations: 1.093 MB / 0.611 GB, free: 71.9 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/1, allocations: 305.1 kB / 0.6113 GB, free: 71.6 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004409/1.005, allocations: 2.581 MB / 0.6139 GB, free: 69 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006048/1.011, allocations: 4.721 MB / 0.6185 GB, free: 63.35 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.022, allocations: 7.463 MB / 0.6258 GB, free: 55.02 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.022, allocations: 20 kB / 0.6258 GB, free: 55 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01885/1.041, allocations: 8.557 MB / 0.6341 GB, free: 46.41 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.041, allocations: 61.77 kB / 0.6342 GB, free: 46.34 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/1.041, allocations: 60 kB / 0.6342 GB, free: 46.28 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003659/1.045, allocations: 1.165 MB / 0.6354 GB, free: 45.12 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004911/1.05, allocations: 1.267 MB / 0.6366 GB, free: 43.85 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.062, allocations: 8.583 MB / 0.645 GB, free: 35.16 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00584/1.068, allocations: 351.5 kB / 0.6453 GB, free: 34.82 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.07, allocations: 271.9 kB / 0.6456 GB, free: 34.55 MB / 394.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.007105/1.077, allocations: 2.902 MB / 0.6484 GB, free: 31.63 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002229/1.079, allocations: 0.5054 MB / 0.6489 GB, free: 31.12 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.092, allocations: 6.168 MB / 0.6549 GB, free: 24.9 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/1.092, allocations: 40 kB / 0.655 GB, free: 24.86 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-05/1.092, allocations: 12 kB / 0.655 GB, free: 24.85 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.48e-05/1.092, allocations: 19.92 kB / 0.655 GB, free: 24.83 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02692/1.119, allocations: 12.77 MB / 0.6675 GB, free: 12 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-05/1.119, allocations: 10.95 kB / 0.6675 GB, free: 11.99 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003185/1.123, allocations: 0.6865 MB / 0.6682 GB, free: 11.3 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/1.126, allocations: 1.023 MB / 0.6692 GB, free: 10.28 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008665/1.127, allocations: 95.97 kB / 0.6693 GB, free: 10.18 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/1.137, allocations: 7.515 MB / 0.6766 GB, free: 2.57 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.137, allocations: 12 kB / 0.6766 GB, free: 2.559 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/1.158, allocations: 8.939 MB / 0.6853 GB, free: 9.48 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003384/1.161, allocations: 0.8331 MB / 0.6861 GB, free: 8.645 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/1.163, allocations: 79.94 kB / 0.6862 GB, free: 8.566 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003609/1.166, allocations: 187.8 kB / 0.6864 GB, free: 8.383 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001394/1.168, allocations: 295 kB / 0.6867 GB, free: 8.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008239/1.169, allocations: 124 kB / 0.6868 GB, free: 7.969 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006464/1.175, allocations: 2.165 MB / 0.6889 GB, free: 5.805 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.91e-07/1.175, allocations: 3.828 kB / 0.6889 GB, free: 5.805 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008098/1.183, allocations: 1.453 MB / 0.6903 GB, free: 4.352 MB / 410.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.001308/1.184, allocations: 252.4 kB / 0.6906 GB, free: 4.102 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01558/1.2, allocations: 6.279 MB / 0.6967 GB, free: 13.79 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/1.2, allocations: 4.062 kB / 0.6967 GB, free: 13.79 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007428/1.207, allocations: 2.917 MB / 0.6996 GB, free: 10.84 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006487/1.214, allocations: 0.7546 MB / 0.7003 GB, free: 10.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1917/1.406, allocations: 14.08 MB / 0.7141 GB, free: 133.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/1.417, allocations: 4.53 MB / 0.7185 GB, free: 132.9 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.005858/1.423, allocations: 1.561 MB / 0.72 GB, free: 132.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/1.425, allocations: 343 kB / 0.7203 GB, free: 132.8 MB / 426.8 MB Notification: Performance of SimCode: time 2.154e-06/1.425, allocations: 0 / 0.7203 GB, free: 132.8 MB / 426.8 MB Notification: Performance of Templates: time 0.0945/1.519, allocations: 54.12 MB / 0.7732 GB, free: 95.85 MB / 426.8 MB " [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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.85621085902676]