Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 119.4 kB / 16.42 MB, free: 6.473 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.328/1.328, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.00124/0.001241, allocations: 184.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03653/0.03653, allocations: 8.798 MB / 349.3 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 83.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0792/0.08069, allocations: 51.56 MB / 0.5041 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01629/0.09701, allocations: 15.82 MB / 0.5195 GB, free: 9.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008331/0.1054, allocations: 5.278 MB / 0.5247 GB, free: 4.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.1068, allocations: 87.75 kB / 0.5248 GB, free: 4.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.1092, allocations: 1.215 MB / 0.526 GB, free: 2.988 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.002904/0.1121, allocations: 1.553 MB / 0.5275 GB, free: 1.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1139, allocations: 0.9637 MB / 0.5284 GB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1613/0.2752, allocations: 4.692 MB / 0.533 GB, free: 6.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.2787, allocations: 3.526 MB / 0.5365 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.281, allocations: 2.115 MB / 0.5385 GB, free: 5.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.2834, allocations: 2.435 MB / 0.5409 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007022/0.2841, allocations: 0.5732 MB / 0.5415 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.2855, allocations: 0.7835 MB / 0.5422 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009813/0.2865, allocations: 1.29 MB / 0.5435 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.2885, allocations: 2.438 MB / 0.5459 GB, free: 4.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005912/0.2944, allocations: 7.501 MB / 0.5532 GB, free: 3.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2944, allocations: 4 kB / 0.5532 GB, free: 3.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2944, allocations: 4.969 kB / 0.5532 GB, free: 3.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.992e-05/0.2945, allocations: 0 / 0.5532 GB, free: 3.098 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.01035/0.3049, allocations: 4.975 MB / 0.5581 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.305, allocations: 10.91 kB / 0.5581 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0051/0.3101, allocations: 0.9565 MB / 0.559 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.3147, allocations: 2.832 MB / 0.5618 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.3149, allocations: 282.4 kB / 0.562 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004775/0.3154, allocations: 368.8 kB / 0.5624 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007382/0.3228, allocations: 4.766 MB / 0.567 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.028e-05/0.3229, allocations: 2.906 kB / 0.567 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003675/0.3232, allocations: 154.7 kB / 0.5672 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.3234, allocations: 155.2 kB / 0.5673 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006317/0.3297, allocations: 4.051 MB / 0.5713 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/0.3497, allocations: 15.55 MB / 0.5865 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006143/0.3559, allocations: 6.924 MB / 0.5932 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.3582, allocations: 1.51 MB / 0.5947 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00608/0.3643, allocations: 4.144 MB / 0.5988 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3644, allocations: 51.86 kB / 0.5988 GB, free: 9.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=137): time 2.856e-06/0.3644, allocations: 0 / 0.5988 GB, free: 9.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.01151/0.3759, allocations: 6.372 MB / 0.605 GB, free: 3.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.3759, allocations: 68.72 kB / 0.6051 GB, free: 3.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.3788, allocations: 2.183 MB / 0.6072 GB, free: 1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.3789, allocations: 55.3 kB / 0.6073 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.3801, allocations: 1.741 MB / 0.609 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/0.3805, allocations: 0.5399 MB / 0.6095 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005819/0.3811, allocations: 407.8 kB / 0.6099 GB, free: 14.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.3812, allocations: 301.1 kB / 0.6102 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.3825, allocations: 0.8281 MB / 0.611 GB, free: 13.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.3843, allocations: 1.588 MB / 0.6126 GB, free: 11.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.3875, allocations: 2.592 MB / 0.6151 GB, free: 8.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.3876, allocations: 8 kB / 0.6151 GB, free: 8.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004647/0.3922, allocations: 3.033 MB / 0.6181 GB, free: 5.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.3923, allocations: 16 kB / 0.6181 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.3923, allocations: 24 kB / 0.6181 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007948/0.3931, allocations: 298.3 kB / 0.6184 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.3949, allocations: 0.4994 MB / 0.6189 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004705/0.3996, allocations: 4.868 MB / 0.6236 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4011, allocations: 103.9 kB / 0.6237 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4012, allocations: 107.8 kB / 0.6238 GB, free: 15.31 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.001612/0.4029, allocations: 1.134 MB / 0.6249 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/0.4032, allocations: 233.2 kB / 0.6251 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.4071, allocations: 2.402 MB / 0.6275 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.4072, allocations: 3.984 kB / 0.6275 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4072, allocations: 7.984 kB / 0.6275 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007536/0.4079, allocations: 494 kB / 0.628 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/0.4083, allocations: 28 kB / 0.628 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.4094, allocations: 76.06 kB / 0.6281 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.4096, allocations: 117.1 kB / 0.6282 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004692/0.4143, allocations: 2.236 MB / 0.6304 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004196/0.4185, allocations: 3.006 MB / 0.6333 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001164/0.4197, allocations: 0.8262 MB / 0.6341 GB, free: 4.719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001965/0.4217, allocations: 1.476 MB / 0.6356 GB, free: 3.227 MB / 446.1 MB Notification: Performance of Backend: time 4.41e-07/0.4217, allocations: 0 / 0.6356 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003544/0.4252, allocations: 1.997 MB / 0.6375 GB, free: 1.273 MB / 446.1 MB Notification: Performance of SimCode: time 0.01007/0.4353, allocations: 6.798 MB / 0.6441 GB, free: 10.44 MB / 462.1 MB Notification: Performance of Templates: time 0.05818/0.4935, allocations: 37.51 MB / 0.6808 GB, free: 5.32 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1)