Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.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_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 106.8 kB / 16.41 MB, free: 6.5 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.411/1.411, 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.001304/0.001304, allocations: 187.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.0338/0.0338, allocations: 8.797 MB / 349.3 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 91.84 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08812, allocations: 51.56 MB / 0.5041 GB, free: 9.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.01692/0.1051, allocations: 15.82 MB / 0.5195 GB, free: 9.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009287/0.1144, allocations: 5.274 MB / 0.5247 GB, free: 4.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.1167, allocations: 91.69 kB / 0.5248 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.1198, allocations: 1.212 MB / 0.526 GB, free: 3 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.00418/0.124, allocations: 1.549 MB / 0.5275 GB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.1263, allocations: 0.9776 MB / 0.5284 GB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1945/0.3208, allocations: 4.683 MB / 0.533 GB, free: 6.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003653/0.3245, allocations: 3.522 MB / 0.5364 GB, free: 5.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.3272, allocations: 2.115 MB / 0.5385 GB, free: 5.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/0.3311, allocations: 2.437 MB / 0.5409 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.3323, allocations: 0.5703 MB / 0.5414 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.3342, allocations: 0.7847 MB / 0.5422 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.3354, allocations: 1.29 MB / 0.5435 GB, free: 4.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.3382, allocations: 2.44 MB / 0.5459 GB, free: 4.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006977/0.3451, allocations: 7.503 MB / 0.5532 GB, free: 3.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3452, allocations: 4 kB / 0.5532 GB, free: 3.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3452, allocations: 0 / 0.5532 GB, free: 3.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001516/0.3453, allocations: 1.156 kB / 0.5532 GB, free: 3.055 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.01075/0.3561, allocations: 4.981 MB / 0.5581 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3561, allocations: 17.05 kB / 0.5581 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/0.3613, allocations: 0.9597 MB / 0.559 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00504/0.3663, allocations: 2.827 MB / 0.5618 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.3665, allocations: 274.2 kB / 0.562 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005421/0.367, allocations: 368.6 kB / 0.5624 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007739/0.3748, allocations: 4.784 MB / 0.5671 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.12e-05/0.3749, allocations: 0.6562 kB / 0.5671 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.3752, allocations: 148.6 kB / 0.5672 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.3754, allocations: 157.2 kB / 0.5673 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006496/0.3819, allocations: 4.048 MB / 0.5713 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02648/0.4084, allocations: 15.55 MB / 0.5865 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/0.4149, allocations: 6.928 MB / 0.5932 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/0.4175, allocations: 1.503 MB / 0.5947 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007361/0.4249, allocations: 4.162 MB / 0.5988 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4249, allocations: 43.88 kB / 0.5988 GB, free: 9.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=137): time 3.397e-06/0.4249, allocations: 0 / 0.5988 GB, free: 9.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.01329/0.4382, allocations: 6.366 MB / 0.605 GB, free: 3.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.4383, allocations: 68.72 kB / 0.6051 GB, free: 3.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.4421, allocations: 2.183 MB / 0.6072 GB, free: 1.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.4423, allocations: 53.7 kB / 0.6073 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.4436, allocations: 1.739 MB / 0.609 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.4441, allocations: 0.5408 MB / 0.6095 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006894/0.4448, allocations: 407.8 kB / 0.6099 GB, free: 14.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.4449, allocations: 301.1 kB / 0.6102 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.4463, allocations: 0.8242 MB / 0.611 GB, free: 13.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.4482, allocations: 1.592 MB / 0.6126 GB, free: 11.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.4517, allocations: 2.591 MB / 0.6151 GB, free: 8.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.4517, allocations: 8 kB / 0.6151 GB, free: 8.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005389/0.4571, allocations: 3.031 MB / 0.618 GB, free: 5.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4571, allocations: 16 kB / 0.6181 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.4572, allocations: 24 kB / 0.6181 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008543/0.458, allocations: 305.7 kB / 0.6184 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.4599, allocations: 0.4989 MB / 0.6189 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.465, allocations: 4.876 MB / 0.6236 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.4673, allocations: 99.92 kB / 0.6237 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/0.4676, allocations: 96 kB / 0.6238 GB, free: 15.34 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.002527/0.4701, allocations: 1.144 MB / 0.6249 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007139/0.4709, allocations: 233.2 kB / 0.6252 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.4753, allocations: 2.403 MB / 0.6275 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.4753, allocations: 7.969 kB / 0.6275 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4754, allocations: 0 / 0.6275 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.4766, allocations: 494 kB / 0.628 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006351/0.4772, allocations: 36.12 kB / 0.628 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.4786, allocations: 67.95 kB / 0.6281 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.4789, allocations: 121.1 kB / 0.6282 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004731/0.4836, allocations: 2.23 MB / 0.6304 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004434/0.4881, allocations: 3.006 MB / 0.6333 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00114/0.4893, allocations: 0.8262 MB / 0.6341 GB, free: 4.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00285/0.4921, allocations: 1.476 MB / 0.6356 GB, free: 3.254 MB / 446.1 MB Notification: Performance of Backend: time 4.01e-07/0.4921, allocations: 0 / 0.6356 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004878/0.497, allocations: 1.999 MB / 0.6375 GB, free: 1.301 MB / 446.1 MB Notification: Performance of SimCode: time 0.01219/0.5092, allocations: 6.795 MB / 0.6441 GB, free: 10.47 MB / 462.1 MB Notification: Performance of Templates: time 0.06746/0.5767, allocations: 38.08 MB / 0.6813 GB, free: 4.785 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe 2>&1)