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.0009082/0.0009082, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9262/0.9262, allocations: 177.2 MB / 200.3 MB, free: 5.379 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.001241/0.001241, allocations: 163.7 kB / 257 MB, free: 12.82 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.02415/0.02415, allocations: 6.665 MB / 266.9 MB, free: 3.059 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.092e-06/1.092e-06, allocations: 0 / 285.7 MB, free: 248 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.664e-05, allocations: 9.828 kB / 285.7 MB, free: 240 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.1166/0.1166, allocations: 24.06 MB / 309.8 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.1293, allocations: 8.281 MB / 318.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.1316, allocations: 203 kB / 318.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007694/0.1392, allocations: 8.094 MB / 326.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004844/0.1441, allocations: 3.178 MB / 329.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.1467, allocations: 2.03 MB / 331.6 MB, free: 460 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006793/0.1535, allocations: 9.717 MB / 341.3 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.1643, allocations: 11.56 MB / 352.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007516/0.1718, allocations: 7.281 MB / 360.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004705/0.1765, allocations: 5.119 MB / 365.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001542/0.1781, allocations: 1.348 MB / 366.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.1802, allocations: 1.741 MB / 368.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.1816, allocations: 2.77 MB / 371.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003068/0.1847, allocations: 3.446 MB / 374.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007536/0.1922, allocations: 8.597 MB / 383.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1922, allocations: 4 kB / 383.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1922, allocations: 3.938 kB / 383.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001601/0.1924, allocations: 0 / 383.2 MB, free: 12.57 MB / 346.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.01442/0.2068, allocations: 10.16 MB / 393.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2069, allocations: 8.031 kB / 393.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/0.2257, allocations: 5.814 MB / 399.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/0.2323, allocations: 3.132 MB / 402.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003972/0.2327, allocations: 0.5741 MB / 402.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.2339, allocations: 0.7694 MB / 403.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.244, allocations: 6.455 MB / 410.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.2441, allocations: 19.92 kB / 410.1 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000718/0.2449, allocations: 320 kB / 410.4 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004428/0.2453, allocations: 0.4928 MB / 410.9 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006859/0.2522, allocations: 3.327 MB / 414.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2758/0.528, allocations: 25.63 MB / 439.9 MB, free: 63 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007541/0.5355, allocations: 5.325 MB / 445.2 MB, free: 62.62 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.5369, allocations: 0.9974 MB / 446.2 MB, free: 62.58 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.5372, allocations: 129.7 kB / 446.3 MB, free: 62.57 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/0.5387, allocations: 1.506 MB / 447.8 MB, free: 62.09 MB / 378.8 MB Notification: Performance of pre-optimization done (n=391): time 6.442e-06/0.5387, allocations: 3.969 kB / 447.8 MB, free: 62.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=397): time 0.01474/0.5534, allocations: 7.189 MB / 455 MB, free: 61.07 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.5535, allocations: 356.3 kB / 455.4 MB, free: 60.7 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.5559, allocations: 2.245 MB / 457.6 MB, free: 60.37 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002774/0.5562, allocations: 88.39 kB / 457.7 MB, free: 60.34 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.5573, allocations: 3.195 MB / 460.9 MB, free: 58.87 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007729/0.558, allocations: 1.403 MB / 462.3 MB, free: 58.07 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.5591, allocations: 1.007 MB / 463.3 MB, free: 57.98 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.166e-05/0.5591, allocations: 312.1 kB / 463.6 MB, free: 57.68 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009987/0.5601, allocations: 0.7349 MB / 464.3 MB, free: 57.62 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.5616, allocations: 2.714 MB / 467.1 MB, free: 55.08 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/0.5646, allocations: 3.764 MB / 470.8 MB, free: 52.46 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-05/0.5646, allocations: 18.41 kB / 470.8 MB, free: 52.45 MB / 378.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.004744/0.5694, allocations: 3.675 MB / 474.5 MB, free: 50.03 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.5694, allocations: 57.7 kB / 474.6 MB, free: 49.97 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.325e-05/0.5695, allocations: 60 kB / 474.6 MB, free: 49.91 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.5711, allocations: 0.8543 MB / 475.5 MB, free: 49.31 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.5735, allocations: 1.222 MB / 476.7 MB, free: 48.35 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/0.5778, allocations: 4.3 MB / 481 MB, free: 44.95 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.5803, allocations: 232.3 kB / 481.2 MB, free: 44.8 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004994/0.5808, allocations: 217.9 kB / 481.4 MB, free: 44.64 MB / 378.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.001773/0.5826, allocations: 0.4993 MB / 481.9 MB, free: 44.36 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006649/0.5832, allocations: 344.6 kB / 482.3 MB, free: 44.07 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.5865, allocations: 2.778 MB / 485.1 MB, free: 41.75 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.5865, allocations: 44 kB / 485.1 MB, free: 41.71 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5865, allocations: 12 kB / 485.1 MB, free: 41.7 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.5865, allocations: 22.33 kB / 485.1 MB, free: 41.68 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.5985, allocations: 7.551 MB / 492.7 MB, free: 35.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.5985, allocations: 7.938 kB / 492.7 MB, free: 35.94 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.5999, allocations: 0.6431 MB / 493.3 MB, free: 35.35 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.6014, allocations: 0.7446 MB / 494.1 MB, free: 34.64 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002025/0.6016, allocations: 80.09 kB / 494.2 MB, free: 34.61 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/0.6053, allocations: 3.877 MB / 498 MB, free: 31.56 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6053, allocations: 7.656 kB / 498 MB, free: 31.56 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/0.6091, allocations: 3.25 MB / 0.4895 GB, free: 28.45 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/0.61, allocations: 485.8 kB / 0.49 GB, free: 28.04 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/0.6104, allocations: 74.12 kB / 0.4901 GB, free: 28.02 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008472/0.6113, allocations: 106.2 kB / 0.4902 GB, free: 27.96 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.6116, allocations: 284.1 kB / 0.4905 GB, free: 27.73 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.6118, allocations: 87.33 kB / 0.4905 GB, free: 27.67 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001121/0.6129, allocations: 1.043 MB / 0.4916 GB, free: 26.8 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6129, allocations: 0 / 0.4916 GB, free: 26.8 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003579/0.6165, allocations: 1.45 MB / 0.493 GB, free: 25.5 MB / 378.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.0003991/0.6169, allocations: 242.9 kB / 0.4932 GB, free: 25.36 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003709/0.6206, allocations: 3.077 MB / 0.4962 GB, free: 22.73 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001079/0.6207, allocations: 63.88 kB / 0.4963 GB, free: 22.66 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.6225, allocations: 1.634 MB / 0.4979 GB, free: 21.27 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/0.6258, allocations: 0.745 MB / 0.4986 GB, free: 20.79 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.6401, allocations: 11.35 MB / 0.5097 GB, free: 10.22 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.6417, allocations: 1.512 MB / 0.5112 GB, free: 8.676 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002014/0.6437, allocations: 0.6439 MB / 0.5118 GB, free: 8.027 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/0.6451, allocations: 0.8182 MB / 0.5126 GB, free: 7.207 MB / 378.8 MB Notification: Performance of SimCode: time 2.164e-06/0.6451, allocations: 0 / 0.5126 GB, free: 7.207 MB / 378.8 MB Notification: Performance of Templates: time 0.0839/0.729, allocations: 59.21 MB / 0.5704 GB, free: 12.86 MB / 442.8 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.50354661187157]