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.001271/0.001271, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002093/0.003363, 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.035/1.035, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2211/1.256, allocations: 53.65 MB / 242 MB, free: 2.633 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.00106/0.00106, allocations: 150.3 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002431, allocations: 489.1 kB / 243.4 MB, free: 1.289 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.02422/0.02422, allocations: 6.65 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009487/0.03371, allocations: 2.666 MB / 253.5 MB, free: 7.418 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_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.223e-06/1.223e-06, allocations: 0 / 254.8 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.773e-05, allocations: 12.44 kB / 254.8 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.0202/0.02023, allocations: 24.24 MB / 279.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01796/0.03819, allocations: 8.334 MB / 287.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005975/0.04417, allocations: 199.1 kB / 287.6 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01281/0.05698, allocations: 8.109 MB / 295.7 MB, free: 13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009949/0.06693, allocations: 3.165 MB / 298.9 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005134/0.07206, allocations: 2.029 MB / 300.9 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01469/0.08675, allocations: 9.745 MB / 310.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02106/0.1078, allocations: 11.26 MB / 321.9 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2019/0.3097, allocations: 7.549 MB / 329.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.321, allocations: 5.124 MB / 334.6 MB, free: 16.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004909/0.3259, allocations: 1.349 MB / 335.9 MB, free: 16.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007533/0.3335, allocations: 1.749 MB / 337.7 MB, free: 16.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005153/0.3386, allocations: 2.217 MB / 339.9 MB, free: 16.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.35, allocations: 2.888 MB / 342.8 MB, free: 16.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.3642, allocations: 8.091 MB / 350.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.835e-05/0.3642, allocations: 0 / 350.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3642, allocations: 0 / 350.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006092/0.3648, allocations: 0.9375 kB / 350.9 MB, free: 15.75 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.02813/0.393, allocations: 11.86 MB / 362.7 MB, free: 7.918 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.393, allocations: 8.031 kB / 362.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/0.4141, allocations: 5.802 MB / 368.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009916/0.424, allocations: 3.133 MB / 371.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005078/0.4245, allocations: 0.5831 MB / 372.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004205/0.4287, allocations: 0.7708 MB / 373 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02546/0.4541, allocations: 6.447 MB / 379.5 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003531/0.4545, allocations: 14.66 kB / 379.5 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002965/0.4575, allocations: 324.7 kB / 379.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007624/0.4582, allocations: 484.6 kB / 380.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.4719, allocations: 3.322 MB / 383.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06393/0.5359, allocations: 25.76 MB / 409.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00856/0.5444, allocations: 5.331 MB / 414.7 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.5464, allocations: 0.9898 MB / 415.7 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/0.5467, allocations: 129.9 kB / 415.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/0.5487, allocations: 1.513 MB / 417.3 MB, free: 4.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=391): time 1.391e-05/0.5487, allocations: 0 / 417.3 MB, free: 4.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.01988/0.5685, allocations: 8.482 MB / 425.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.5686, allocations: 171.6 kB / 426 MB, free: 12.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.5713, allocations: 2.252 MB / 428.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003347/0.5716, allocations: 89.7 kB / 428.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.5732, allocations: 3.187 MB / 431.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.5743, allocations: 1.403 MB / 432.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.5758, allocations: 1.011 MB / 433.9 MB, free: 5.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.5759, allocations: 305.1 kB / 434.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.577, allocations: 0.735 MB / 434.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.5792, allocations: 2.705 MB / 437.6 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004835/0.584, allocations: 4.021 MB / 441.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-05/0.5841, allocations: 16 kB / 441.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005919/0.59, allocations: 3.665 MB / 445.3 MB, free: 8.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/0.5901, allocations: 64.38 kB / 445.4 MB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.189e-05/0.5902, allocations: 60.31 kB / 445.5 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.5921, allocations: 0.87 MB / 446.3 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.5956, allocations: 1.331 MB / 447.7 MB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005513/0.6012, allocations: 4.266 MB / 451.9 MB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/0.6047, allocations: 235.7 kB / 452.2 MB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007669/0.6055, allocations: 216 kB / 452.4 MB, free: 1.938 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.002265/0.6078, allocations: 0.4935 MB / 452.9 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007891/0.6086, allocations: 347.7 kB / 453.2 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004365/0.6129, allocations: 2.777 MB / 456 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.613, allocations: 47.94 kB / 456 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/0.613, allocations: 15.66 kB / 456 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.613, allocations: 23.92 kB / 456.1 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.6264, allocations: 7.55 MB / 463.6 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.6264, allocations: 4 kB / 463.6 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.628, allocations: 0.7095 MB / 464.3 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/0.6298, allocations: 484.9 kB / 464.8 MB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.6314, allocations: 0.757 MB / 465.6 MB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.6316, allocations: 79.97 kB / 465.6 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00479/0.6364, allocations: 3.856 MB / 469.5 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/0.6364, allocations: 11.47 kB / 469.5 MB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00562/0.642, allocations: 3.261 MB / 472.8 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009057/0.6429, allocations: 76 kB / 472.8 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.6444, allocations: 99.97 kB / 472.9 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005155/0.6449, allocations: 286.6 kB / 473.2 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.645, allocations: 75.97 kB / 473.3 MB, free: 13.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001618/0.6467, allocations: 1.043 MB / 474.3 MB, free: 13.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6467, allocations: 4 kB / 474.3 MB, free: 13.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005297/0.652, allocations: 1.445 MB / 475.8 MB, free: 11.62 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.0007114/0.6527, allocations: 252.3 kB / 476 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005817/0.6585, allocations: 3.156 MB / 479.2 MB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002658/0.6587, allocations: 96.5 kB / 479.3 MB, free: 8.406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004632/0.6634, allocations: 2.613 MB / 481.9 MB, free: 5.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1632/0.8265, allocations: 5.809 MB / 487.7 MB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0675/0.894, allocations: 11.25 MB / 499 MB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/0.897, allocations: 1.523 MB / 0.4887 GB, free: 114.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002864/0.8999, allocations: 0.6457 MB / 0.4894 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/0.9018, allocations: 0.8219 MB / 0.4902 GB, free: 114.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.565e-06/0.9018, allocations: 0 / 0.4902 GB, free: 114.6 MB / 426.7 MB Notification: Performance of Templates: time 0.08891/0.9907, allocations: 62.84 MB / 0.5515 GB, free: 72.33 MB / 426.7 MB " [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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.728747989051044]