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.001304/0.001304, allocations: 114 kB / 16.42 MB, free: 6.402 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.316/1.316, 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.001205/0.001205, 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.03583/0.03583, allocations: 8.798 MB / 349.3 MB, free: 4.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 80.2 kB / 464.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08383/0.08542, allocations: 51.56 MB / 0.5041 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01664/0.1021, allocations: 15.81 MB / 0.5195 GB, free: 9.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009652/0.1118, allocations: 5.27 MB / 0.5247 GB, free: 4.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.1146, allocations: 91.69 kB / 0.5248 GB, free: 4.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003724/0.1184, allocations: 1.247 MB / 0.526 GB, free: 3.004 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.005035/0.1235, allocations: 1.604 MB / 0.5276 GB, free: 1.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.1262, allocations: 0.9716 MB / 0.5285 GB, free: 432 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.184/0.3102, allocations: 4.686 MB / 0.5331 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003475/0.3137, allocations: 3.527 MB / 0.5365 GB, free: 5.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.3161, allocations: 2.118 MB / 0.5386 GB, free: 5.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.3188, allocations: 2.437 MB / 0.541 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007629/0.3195, allocations: 0.5718 MB / 0.5415 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.321, allocations: 0.7804 MB / 0.5423 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.3221, allocations: 1.291 MB / 0.5436 GB, free: 4.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.3244, allocations: 2.442 MB / 0.5459 GB, free: 4.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.3309, allocations: 7.503 MB / 0.5533 GB, free: 3.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.331, allocations: 5.594 kB / 0.5533 GB, free: 3.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.331, allocations: 1.094 kB / 0.5533 GB, free: 3.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001186/0.3311, allocations: 0 / 0.5533 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.01185/0.3429, allocations: 4.981 MB / 0.5581 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.343, allocations: 8.562 kB / 0.5581 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/0.3484, allocations: 0.9526 MB / 0.5591 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005754/0.3542, allocations: 2.833 MB / 0.5618 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.3544, allocations: 274.2 kB / 0.5621 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005425/0.355, allocations: 366.1 kB / 0.5625 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007952/0.3629, allocations: 4.78 MB / 0.5671 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.358e-05/0.363, allocations: 3.984 kB / 0.5671 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/0.3634, allocations: 154.9 kB / 0.5673 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.3635, allocations: 157.1 kB / 0.5674 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006395/0.3699, allocations: 4.045 MB / 0.5714 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02315/0.3931, allocations: 15.55 MB / 0.5866 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.3993, allocations: 6.927 MB / 0.5933 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.4018, allocations: 1.499 MB / 0.5948 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007163/0.4089, allocations: 4.16 MB / 0.5989 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.409, allocations: 51.88 kB / 0.5989 GB, free: 9.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=137): time 2.916e-06/0.409, allocations: 0 / 0.5989 GB, free: 9.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.01357/0.4226, allocations: 6.36 MB / 0.6051 GB, free: 3.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.4227, allocations: 68.72 kB / 0.6052 GB, free: 3.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00379/0.4265, allocations: 2.187 MB / 0.6073 GB, free: 1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.4266, allocations: 53.7 kB / 0.6074 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.4279, allocations: 1.738 MB / 0.6091 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.4283, allocations: 0.5407 MB / 0.6096 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006271/0.4289, allocations: 407.8 kB / 0.61 GB, free: 14.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4291, allocations: 301.1 kB / 0.6103 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.4305, allocations: 0.8281 MB / 0.6111 GB, free: 13.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.4324, allocations: 1.588 MB / 0.6126 GB, free: 11.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.436, allocations: 2.59 MB / 0.6152 GB, free: 8.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.436, allocations: 11.94 kB / 0.6152 GB, free: 8.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005376/0.4414, allocations: 3.035 MB / 0.6181 GB, free: 5.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.4414, allocations: 12 kB / 0.6181 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.4415, allocations: 28 kB / 0.6182 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000828/0.4423, allocations: 306.9 kB / 0.6185 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.4442, allocations: 0.5065 MB / 0.619 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005087/0.4493, allocations: 4.853 MB / 0.6237 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.4512, allocations: 107.8 kB / 0.6238 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.4514, allocations: 100 kB / 0.6239 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.002065/0.4535, allocations: 1.133 MB / 0.625 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/0.454, allocations: 233.2 kB / 0.6252 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/0.4584, allocations: 2.406 MB / 0.6276 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.4584, allocations: 8.094 kB / 0.6276 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.4584, allocations: 4 kB / 0.6276 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.4596, allocations: 490 kB / 0.6281 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/0.4602, allocations: 32 kB / 0.6281 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.4615, allocations: 67.95 kB / 0.6282 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.4618, allocations: 121.1 kB / 0.6283 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004863/0.4666, allocations: 2.234 MB / 0.6304 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004336/0.471, allocations: 3.006 MB / 0.6334 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001166/0.4722, allocations: 0.8301 MB / 0.6342 GB, free: 4.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002545/0.4747, allocations: 1.472 MB / 0.6356 GB, free: 3.234 MB / 446.1 MB Notification: Performance of Backend: time 4.11e-07/0.4747, allocations: 3.656 kB / 0.6356 GB, free: 3.234 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004292/0.479, allocations: 1.994 MB / 0.6376 GB, free: 1.281 MB / 446.1 MB Notification: Performance of SimCode: time 0.01119/0.4902, allocations: 6.8 MB / 0.6442 GB, free: 10.45 MB / 462.1 MB Notification: Performance of Templates: time 0.06201/0.5523, allocations: 37.51 MB / 0.6809 GB, free: 5.316 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)