Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.318/1.318, allocations: 222.9 MB / 240.1 MB, free: 4.371 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.001249/0.001249, allocations: 188.5 kB / 290.4 MB, free: 2.094 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.801 MB / 349.3 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 83.88 kB / 464.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.07974, allocations: 51.58 MB / 0.5041 GB, free: 9.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01536/0.09513, allocations: 15.79 MB / 0.5195 GB, free: 9.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007514/0.1027, allocations: 5.282 MB / 0.5247 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000963/0.1036, allocations: 95.69 kB / 0.5248 GB, free: 4.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.1059, allocations: 1.204 MB / 0.5259 GB, free: 2.957 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/SMEE_Synchronization1.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.00287/0.1088, allocations: 1.549 MB / 0.5274 GB, free: 1.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.1106, allocations: 0.969 MB / 0.5284 GB, free: 440 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1729/0.2835, allocations: 4.692 MB / 0.533 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003444/0.2869, allocations: 3.531 MB / 0.5364 GB, free: 5.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.2892, allocations: 2.111 MB / 0.5385 GB, free: 5.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.2919, allocations: 2.439 MB / 0.5409 GB, free: 4.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007367/0.2926, allocations: 0.5704 MB / 0.5414 GB, free: 4.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.2941, allocations: 0.7846 MB / 0.5422 GB, free: 4.859 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000997/0.2951, allocations: 1.287 MB / 0.5434 GB, free: 4.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.2972, allocations: 2.442 MB / 0.5458 GB, free: 4.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006166/0.3034, allocations: 7.502 MB / 0.5532 GB, free: 3.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3034, allocations: 0 / 0.5532 GB, free: 3.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3034, allocations: 1.219 kB / 0.5532 GB, free: 3.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.3036, allocations: 4 kB / 0.5532 GB, free: 3.07 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01119/0.3147, allocations: 4.989 MB / 0.558 GB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3148, allocations: 11.12 kB / 0.558 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/0.3202, allocations: 0.9563 MB / 0.559 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004805/0.325, allocations: 2.824 MB / 0.5617 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.3252, allocations: 279.5 kB / 0.562 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005195/0.3257, allocations: 369.7 kB / 0.5624 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007682/0.3334, allocations: 4.773 MB / 0.567 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.845e-05/0.3335, allocations: 3.469 kB / 0.567 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003773/0.3339, allocations: 147.2 kB / 0.5672 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.334, allocations: 158.2 kB / 0.5673 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00632/0.3403, allocations: 4.047 MB / 0.5713 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.3609, allocations: 15.55 MB / 0.5865 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/0.367, allocations: 6.939 MB / 0.5932 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/0.3694, allocations: 1.506 MB / 0.5947 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006256/0.3757, allocations: 4.15 MB / 0.5988 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3757, allocations: 46.59 kB / 0.5988 GB, free: 9.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=137): time 3.096e-06/0.3757, allocations: 0 / 0.5988 GB, free: 9.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.01158/0.3873, allocations: 6.362 MB / 0.605 GB, free: 3.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.3874, allocations: 76.64 kB / 0.6051 GB, free: 3.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.3903, allocations: 2.179 MB / 0.6072 GB, free: 0.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.3904, allocations: 53.7 kB / 0.6073 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.3915, allocations: 1.732 MB / 0.609 GB, free: 15.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.3919, allocations: 0.5488 MB / 0.6095 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005892/0.3925, allocations: 407.8 kB / 0.6099 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.3926, allocations: 304.7 kB / 0.6102 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.3939, allocations: 0.8254 MB / 0.611 GB, free: 13.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.3957, allocations: 1.592 MB / 0.6125 GB, free: 11.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.3989, allocations: 2.584 MB / 0.6151 GB, free: 8.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.3989, allocations: 8 kB / 0.6151 GB, free: 8.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004722/0.4037, allocations: 3.031 MB / 0.618 GB, free: 5.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.4037, allocations: 16.09 kB / 0.618 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.4037, allocations: 28 kB / 0.6181 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007913/0.4045, allocations: 302.3 kB / 0.6184 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.4064, allocations: 0.4957 MB / 0.6188 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.4111, allocations: 4.868 MB / 0.6236 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4128, allocations: 107.9 kB / 0.6237 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.413, allocations: 99.98 kB / 0.6238 GB, free: 15.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 (264): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001789/0.4148, allocations: 1.138 MB / 0.6249 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.4151, allocations: 237.2 kB / 0.6251 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.419, allocations: 2.399 MB / 0.6275 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.4191, allocations: 7.969 kB / 0.6275 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4191, allocations: 4 kB / 0.6275 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007756/0.4199, allocations: 490 kB / 0.6279 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.4202, allocations: 32 kB / 0.628 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.4213, allocations: 71.5 kB / 0.628 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.4215, allocations: 125.1 kB / 0.6282 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004721/0.4263, allocations: 2.23 MB / 0.6303 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00429/0.4306, allocations: 3.009 MB / 0.6333 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001148/0.4317, allocations: 0.8262 MB / 0.6341 GB, free: 4.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002074/0.4338, allocations: 1.476 MB / 0.6355 GB, free: 3.184 MB / 446.1 MB Notification: Performance of Backend: time 2.4e-07/0.4338, allocations: 0 / 0.6355 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003744/0.4376, allocations: 1.998 MB / 0.6375 GB, free: 1.23 MB / 446.1 MB Notification: Performance of SimCode: time 0.009931/0.4475, allocations: 6.794 MB / 0.6441 GB, free: 10.4 MB / 462.1 MB Notification: Performance of Templates: time 0.05938/0.5069, allocations: 37.5 MB / 0.6807 GB, free: 5.281 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1)