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.001065/0.001065, allocations: 111.8 kB / 16.42 MB, free: 6.453 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.313/1.313, allocations: 222.9 MB / 240.1 MB, free: 4.355 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.00123/0.00123, 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.03583/0.03583, allocations: 8.811 MB / 349.4 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 83.88 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.08421, allocations: 51.56 MB / 0.5041 GB, free: 9.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01665/0.1009, allocations: 16.71 MB / 0.5204 GB, free: 8.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009473/0.1104, allocations: 5.461 MB / 0.5257 GB, free: 3.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.1128, allocations: 103.6 kB / 0.5258 GB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.1163, allocations: 1.301 MB / 0.5271 GB, free: 1.77 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.004709/0.121, allocations: 1.662 MB / 0.5287 GB, free: 104 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1803/0.3014, allocations: 1.036 MB / 0.5297 GB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004869/0.3063, allocations: 5.015 MB / 0.5346 GB, free: 5.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004331/0.3106, allocations: 4.314 MB / 0.5388 GB, free: 5.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.3136, allocations: 2.284 MB / 0.5411 GB, free: 4.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004036/0.3177, allocations: 2.657 MB / 0.5437 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001604/0.3193, allocations: 0.6199 MB / 0.5443 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.3218, allocations: 0.8386 MB / 0.5451 GB, free: 4.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.3232, allocations: 1.429 MB / 0.5465 GB, free: 4.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005141/0.3284, allocations: 2.654 MB / 0.5491 GB, free: 3.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008351/0.3367, allocations: 8.142 MB / 0.557 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3368, allocations: 5.156 kB / 0.557 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3368, allocations: 0 / 0.557 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001963/0.337, allocations: 0 / 0.557 GB, free: 0.7266 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.0145/0.3515, allocations: 5.514 MB / 0.5624 GB, free: 13.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3515, allocations: 11.25 kB / 0.5624 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/0.357, allocations: 1.011 MB / 0.5634 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006743/0.3638, allocations: 3.047 MB / 0.5664 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.3641, allocations: 304.4 kB / 0.5667 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.3654, allocations: 400.3 kB / 0.5671 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.3777, allocations: 5.227 MB / 0.5722 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.3779, allocations: 3.953 kB / 0.5722 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009101/0.3788, allocations: 164 kB / 0.5723 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.379, allocations: 176 kB / 0.5725 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009689/0.3887, allocations: 4.461 MB / 0.5769 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0292/0.4179, allocations: 16.65 MB / 0.5931 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00752/0.4255, allocations: 8.432 MB / 0.6014 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/0.4285, allocations: 1.697 MB / 0.603 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008299/0.4369, allocations: 4.988 MB / 0.6079 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.4369, allocations: 51.88 kB / 0.6079 GB, free: 200 kB / 414.1 MB Notification: Performance of pre-optimization done (n=158): time 3.777e-06/0.4369, allocations: 0 / 0.6079 GB, free: 200 kB / 414.1 MB Notification: Performance of matching and sorting (n=161): time 0.01173/0.4487, allocations: 6.211 MB / 0.614 GB, free: 9.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4487, allocations: 68.72 kB / 0.6141 GB, free: 9.773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.452, allocations: 2.29 MB / 0.6163 GB, free: 7.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.4522, allocations: 53.7 kB / 0.6164 GB, free: 7.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.4534, allocations: 1.894 MB / 0.6182 GB, free: 5.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.4538, allocations: 0.5789 MB / 0.6188 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005705/0.4544, allocations: 395.9 kB / 0.6191 GB, free: 4.527 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.4544, allocations: 312.6 kB / 0.6194 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.4559, allocations: 0.8475 MB / 0.6203 GB, free: 3.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.4577, allocations: 1.565 MB / 0.6218 GB, free: 1.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/0.4611, allocations: 2.559 MB / 0.6243 GB, free: 14.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.4611, allocations: 8 kB / 0.6243 GB, free: 14.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.004766/0.4659, allocations: 2.906 MB / 0.6271 GB, free: 11.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.4659, allocations: 19.94 kB / 0.6272 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.466, allocations: 20.53 kB / 0.6272 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/0.4663, allocations: 129.7 kB / 0.6273 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.4684, allocations: 0.5496 MB / 0.6278 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.4701, allocations: 2.011 MB / 0.6298 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.4721, allocations: 111.8 kB / 0.6299 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.4722, allocations: 104 kB / 0.63 GB, free: 8.859 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.00206/0.4743, allocations: 1.192 MB / 0.6312 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/0.4748, allocations: 258.4 kB / 0.6314 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.479, allocations: 2.46 MB / 0.6338 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.479, allocations: 7.969 kB / 0.6338 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.479, allocations: 4 kB / 0.6338 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4801, allocations: 0.4993 MB / 0.6343 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.4804, allocations: 36 kB / 0.6344 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.4815, allocations: 83.92 kB / 0.6344 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.4818, allocations: 129 kB / 0.6346 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004628/0.4864, allocations: 2.284 MB / 0.6368 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004573/0.491, allocations: 3.055 MB / 0.6398 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001283/0.4923, allocations: 0.8457 MB / 0.6406 GB, free: 13.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002348/0.4946, allocations: 1.549 MB / 0.6421 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Backend: time 5.41e-07/0.4946, allocations: 0 / 0.6421 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004068/0.4987, allocations: 1.807 MB / 0.6439 GB, free: 10.57 MB / 462.1 MB Notification: Performance of SimCode: time 0.01144/0.5102, allocations: 7.415 MB / 0.6511 GB, free: 3.105 MB / 462.1 MB Notification: Performance of Templates: time 0.06143/0.5716, allocations: 38.25 MB / 0.6885 GB, free: 13.21 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)