Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 109.8 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.1 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 184.5 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03662/0.03662, allocations: 8.796 MB / 349.3 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 83.88 kB / 464.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07992/0.08148, allocations: 51.57 MB / 0.5041 GB, free: 9.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01724/0.09875, allocations: 16.71 MB / 0.5204 GB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009/0.1078, allocations: 5.453 MB / 0.5257 GB, free: 3.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.1097, allocations: 103.6 kB / 0.5258 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.1127, allocations: 1.273 MB / 0.5271 GB, free: 1.98 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/SMEE_DOL.mo:12:3-13:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.003769/0.1165, allocations: 1.607 MB / 0.5286 GB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1726/0.289, allocations: 1.036 MB / 0.5296 GB, free: 6.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005171/0.2942, allocations: 5.003 MB / 0.5345 GB, free: 6.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005265/0.2995, allocations: 4.313 MB / 0.5387 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.3023, allocations: 2.278 MB / 0.541 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.3062, allocations: 2.661 MB / 0.5436 GB, free: 4.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.3073, allocations: 0.6201 MB / 0.5442 GB, free: 4.422 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.3089, allocations: 0.8393 MB / 0.545 GB, free: 4.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.31, allocations: 1.431 MB / 0.5464 GB, free: 4.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.3122, allocations: 2.646 MB / 0.549 GB, free: 3.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006171/0.3183, allocations: 8.132 MB / 0.5569 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3184, allocations: 4 kB / 0.5569 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3184, allocations: 0 / 0.5569 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000104/0.3185, allocations: 0 / 0.5569 GB, free: 0.9336 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01152/0.33, allocations: 5.393 MB / 0.5622 GB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3301, allocations: 12.66 kB / 0.5622 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/0.3352, allocations: 0.9817 MB / 0.5632 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004961/0.3402, allocations: 3.037 MB / 0.5661 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.3403, allocations: 299.2 kB / 0.5664 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005122/0.3409, allocations: 401.2 kB / 0.5668 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008087/0.349, allocations: 5.226 MB / 0.5719 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.65e-05/0.349, allocations: 3 kB / 0.5719 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003912/0.3494, allocations: 164 kB / 0.5721 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.3496, allocations: 172 kB / 0.5722 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007257/0.3569, allocations: 4.469 MB / 0.5766 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/0.3797, allocations: 16.6 MB / 0.5928 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007256/0.387, allocations: 8.437 MB / 0.601 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.3897, allocations: 1.697 MB / 0.6027 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00732/0.3971, allocations: 4.98 MB / 0.6076 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.3971, allocations: 51.86 kB / 0.6076 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=158): time 3.727e-06/0.3971, allocations: 0 / 0.6076 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=161): time 0.01127/0.4084, allocations: 6.156 MB / 0.6136 GB, free: 10.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.4085, allocations: 68.72 kB / 0.6137 GB, free: 10.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/0.4115, allocations: 2.282 MB / 0.6159 GB, free: 7.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.4116, allocations: 57.7 kB / 0.616 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.4128, allocations: 1.846 MB / 0.6178 GB, free: 6.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/0.4133, allocations: 0.5517 MB / 0.6183 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005899/0.4139, allocations: 403.6 kB / 0.6187 GB, free: 5.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.414, allocations: 304.8 kB / 0.619 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.4154, allocations: 0.847 MB / 0.6198 GB, free: 3.953 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.4173, allocations: 1.562 MB / 0.6213 GB, free: 2.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/0.4207, allocations: 2.568 MB / 0.6238 GB, free: 15.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.4208, allocations: 8 kB / 0.6239 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.004487/0.4252, allocations: 2.895 MB / 0.6267 GB, free: 12.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.4253, allocations: 13.88 kB / 0.6267 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.4253, allocations: 24.53 kB / 0.6267 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000305/0.4256, allocations: 125.7 kB / 0.6268 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.4277, allocations: 0.5502 MB / 0.6274 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.4294, allocations: 2.003 MB / 0.6293 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.431, allocations: 111.8 kB / 0.6294 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.4311, allocations: 100 kB / 0.6295 GB, free: 9.465 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001848/0.433, allocations: 1.195 MB / 0.6307 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.4333, allocations: 245 kB / 0.6309 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.4375, allocations: 2.46 MB / 0.6333 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.4376, allocations: 11.95 kB / 0.6333 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4376, allocations: 0 / 0.6333 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007822/0.4384, allocations: 497.9 kB / 0.6338 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.4387, allocations: 39.98 kB / 0.6339 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.4398, allocations: 87.92 kB / 0.6339 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.4401, allocations: 125 kB / 0.6341 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004769/0.4449, allocations: 2.283 MB / 0.6363 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004499/0.4494, allocations: 3.034 MB / 0.6393 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00127/0.4506, allocations: 0.8378 MB / 0.6401 GB, free: 14.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002212/0.4529, allocations: 1.552 MB / 0.6416 GB, free: 13.04 MB / 462.1 MB Notification: Performance of Backend: time 3.31e-07/0.4529, allocations: 0 / 0.6416 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.4564, allocations: 1.795 MB / 0.6433 GB, free: 11.22 MB / 462.1 MB Notification: Performance of SimCode: time 0.01142/0.4678, allocations: 7.309 MB / 0.6505 GB, free: 3.879 MB / 462.1 MB Notification: Performance of Templates: time 0.06152/0.5294, allocations: 38.26 MB / 0.6878 GB, free: 13.97 MB / 0.4981 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1)